Every CVE Search/ Get API key

CVE-2007-4556

OpenSymphony XWork vulnerable to improper input validation

6.8 MediumFix available

Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Exploit likelihood

25.7%Up 17.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Record
CVE-2007-4556
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Record
CVE-2007-4556
Updated
2026-11-02
EUVDEUVD-2022-4099 No score

Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Record
EUVD-2022-4099
Updated
2026-11-03
GitHub AdvisoriesGHSA-h7mf-qrm9-2848 No score

OpenSymphony XWork vulnerable to improper input validation

XWork is an command-pattern framework that is used to power WebWork as well as other applications. Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Note: Version 2.0.4 marks the change from opensymphony:xwork to com.opensymphony:xwork.

Record
GHSA-h7mf-qrm9-2848
Weakness
CWE-20
Updated
2026-11-02
OSVGHSA-h7mf-qrm9-2848 No score

OpenSymphony XWork vulnerable to improper input validation

XWork is an command-pattern framework that is used to power WebWork as well as other applications. Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a "%{" sequence and ending with a "}" character.

Note: Version 2.0.4 marks the change from opensymphony:xwork to com.opensymphony:xwork.

Record
GHSA-h7mf-qrm9-2848
Weakness
CWE-20
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opensymphony:xwork
Maven
before 1.2.3
1.2.3
opensymphony:xwork
Maven
2.0.0 to 2.0.3
2.0.4
opensymphony:xwork
Maven
before 1.2.3, plus listed versions
1.01.0.11.0.31.0.41.0.5
Show 6 moreShow less
1.11.1.11.1.31.21.2.11.2.2
1.2.3
opensymphony:xwork
Maven
2.0.0 up to 2.0.4, plus listed versions
2.0.0-j42.0.12.0.1-j42.0.22.0.3
2.0.4

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
NucleiOpenSymphony XWork/Apache Struts2 - Remote Code Execution

History

History
RecordedChangedSources
aliasesEUVD
affected, aliases, cwes, exploits, facts, references, titleGitHub Advisories, Nuclei, OSV
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-4556 is a medium vulnerability (CVSS 6.8) in Opensymphony Xwork, published August 28, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 25.7%, the 97th percentile. Fixed in opensymphony:xwork 1.2.3.

References

Show 10 moreShow less
MoveEnter Open