
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68493 is an XXE (XML External Entity) injection vulnerability in the XWork component of Apache Struts, tracked under security bulletin S2-069. It affects Apache Struts versions 2.0.0 through 2.3.37 (EOL), 2.5.0 through 2.5.33 (EOL), and 6.0.0 through 6.1.0, and was publicly disclosed on January 11, 2026. The vulnerability was reported by ZAST.AI and assigned a CVSS v3.1 base score of 8.1 (High) (Apache S2-069, Openwall OSS-Sec).
The root cause is improper XML validation in the XWork component's XML configuration parser, classified as CWE-611 (Improper Restriction of XML External Entity Reference). When parsing XML configuration, the XWork component fails to disable external entity processing, allowing an attacker to inject malicious XML payloads containing external entity references. Exploitation requires user interaction (e.g., a user or application processing attacker-controlled XML input) and no authentication or special privileges. The vulnerability enables classic XXE attack patterns including file disclosure, SSRF, and denial of service (Apache S2-069, Openwall OSS-Sec).
Successful exploitation can result in disclosure of sensitive data (high confidentiality impact), denial of service (high availability impact), and Server-Side Request Forgery (SSRF), which could enable lateral movement to internal network resources. Integrity is not directly impacted. Given Apache Struts' widespread use in enterprise Java web applications, the potential exposure of sensitive server-side files (e.g., /etc/passwd, application configuration files) and the ability to probe internal services via SSRF represent significant risks (Apache S2-069, Red Hat Bugzilla).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
<!ENTITY xxe SYSTEM "file:///etc/passwd">
]>
<root>&xxe;</root><!DOCTYPE, <!ENTITY, or SYSTEM keywords; error logs referencing XML parsing exceptions or external entity resolution failures in XWork components./etc/passwd, /etc/shadow, application configuration files) by the Java process running Struts.java) to internal RFC-1918 addresses or unexpected external endpoints (Apache S2-069, Emerging Threats).The primary remediation is to upgrade Apache Struts to version 6.1.1 or later. For the EOL 2.3.x series, upgrade to 2.3.38+; for the EOL 2.5.x series, upgrade to 2.5.34+. Organizations unable to upgrade immediately can apply the following JVM-level workarounds to disable external entity processing:
-Djavax.xml.accessExternalDTD="" -Djavax.xml.accessExternalSchema="" -Djavax.xml.accessExternalStylesheet=""SAXParserFactory by setting xwork.saxParserFactory to a factory class that disables external entities by default.Note that the 2.3.x and 2.5.x branches are end-of-life and migration to the 6.x series is strongly recommended (Apache S2-069).
The vulnerability received notable coverage from security media outlets including GBHackers, CyberSecurityNews, SC Magazine, and SecurityOnline, with headlines emphasizing the risk of data theft and SSRF. Sonatype reported that vulnerable Apache Struts 2 versions were downloaded approximately 325,000–387,000 times in the week following disclosure, highlighting the scale of continued use of unpatched versions (Sonatype Blog, Hackread). HeroDevs published analysis noting the vulnerability as a broader warning sign about legacy Struts deployments (HeroDevs Blog). Check Point and NSFOCUS also published advisories covering the vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."