Apache Software Foundation Apache Struts
Apache Struts, Apache Struts: XXE vulnerability in outdated XWork component
Missing XML Validation vulnerability in Apache Struts, Apache Struts. This issue affects Apache Struts: from 2.0.0 before 2.2.1; Apache Struts: from 2.2.1 through 6.1.0. Users are recommended to upgrade to version 6.1.1, which fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 2.2.1
Fixed in 2.2.1
- >= 2.2.1, <= 6.1.0
Mitigation
Upgrade Apache Struts to 2.2.1 or later.
References
- Vendor advisory cwiki.apache.org/confluence/display/WW/S2-069
Timeline
Days relative to CVE publicationFirst public PoC 24 days after publication; not in CISA KEV. First PoC: hsltz/CVE-2025-68493 (created 4 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hsltz/CVE-2025-68493 | 4 Feb 2026 +24 d | 2 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Apache Struts XWork - XML External Entity Injection | 29 Jul 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /struts2-xml-parser/xmlParserNoDtdParse
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8- Body markers
<?xml version="1.0"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file:///etc/passwd">]>xxe;</foo>=<?xml version="1.0"?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file://inapplication/x-www-form-urlencoded- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64)- Seen in
- 1 repo: hsltz/CVE-2025-68493
- Evidence
- hsltz/CVE-2025-68493/cve-2025-68493.yaml:21 hsltz/CVE-2025-68493/cve_2025_68493_poc.py:25
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/struts2-xml-parser/xmlParserNoDtdParse(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-68493 Apache Software Foundation Apache Struts exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/struts2-xml-parser/xmlParserNoDtdParse"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8"; nocase; http.request_body; content:"<?xml version=|22|1.0|22|?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM |22|file:///etc/passwd|22|>]>"; http.request_body; content:"xxe|3b|</foo>="; http.request_body; content:"<?xml version=|22|1.0|22|?><!DOCTYPE foo [ <!ENTITY xxe SYSTEM |22|file://"; reference:url,poc.griffinguard.io/cve/CVE-2025-68493; classtype:web-application-attack; sid:9384613; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Struts exploit attempt (CVE-2025-68493)
id: gg-pocmon-cve-2025-68493-9384613
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68493. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-68493
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/struts2-xml-parser/xmlParserNoDtdParse'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.68493