# Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode

Advisory record · `GHSA-hmvj-gc9q-mg9p`

- **Identifiers:** `GHSA-hmvj-gc9q-mg9p` · `CVE-2012-0394`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 4 May 2022
- **Updated:** 3 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 4 May 2022, 00:29 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.struts.xwork:xwork-core` (Maven): affected `<2.3.18`; fixed in `2.3.18`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The xwork-core package (Apache Struts) is affected before 2.3.18, though the source text gives 2.3.1.1 as the threshold. When developer mode is enabled, a remote attacker can execute arbitrary commands via unspecified vectors. Upgrade to 2.3.18, or disable developer mode. The vendor does not consider this a security vulnerability itself.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.73, the 99th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hmvj-gc9q-mg9p)

## Sources

- [GitHub Advisory Database: GHSA-hmvj-gc9q-mg9p](https://github.com/advisories/GHSA-hmvj-gc9q-mg9p)
- [OSV: GHSA-hmvj-gc9q-mg9p](https://osv.dev/vulnerability/GHSA-hmvj-gc9q-mg9p)
- <https://nvd.nist.gov/vuln/detail/CVE-2012-0394>
- <https://github.com/apache/struts/commit/34c80dae734e70f13c0e46f9c83602fb71318e58>
- <https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d>
- <https://github.com/apache/struts>
- <https://issues.apache.org/jira/browse/WW-3729>
- <https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt>
- <http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html>
- <http://struts.apache.org/2.x/docs/s2-008.html>
- <http://struts.apache.org/2.x/docs/version-notes-2311.html>
- <http://www.exploit-db.com/exploits/18329>
- <http://www.exploit-db.com/exploits/31434>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hmvj-gc9q-mg9p>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hmvj-gc9q-mg9p/>. Everything for agents: <https://agentprime.io/llms.txt>.
