Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
High

XXE in Apache Struts XWork XML parsing

IdentifiersCVE-2025-68493CWE-611· Improper Restriction of XML…Also known ass2_069

CVE-2025-68493 is a missing XML validation flaw in the Apache Struts XWork component that results in XML External Entity (XXE) processing during XML configuration parsing. The issue affects Apache Struts from 2.0.0 before 2.2.1 and from 2.2.1 through 6.1.0. Multiple sources in the provided content describe the root cause as improper validation or unsafe parsing of XML in XWork, allowing attacker-supplied malicious XML to trigger external entity resolution. The vulnerable behavior is associated with Struts/XWork XML parsing and can expose local files or cause the application to access attacker-controlled or internal resources. The Apache advisory identifies the issue as a missing XML validation vulnerability; supporting content further characterizes it as an XXE issue in the outdated XWork component.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can disclose sensitive data, including local files, configuration data, credentials, and other application secrets reachable through XML external entity resolution. It can also be used for server-side request forgery against internal network resources and may cause denial of service through malicious XML payloads or parser/resource exhaustion. The provided content consistently identifies the primary impacts as data exposure, SSRF, and DoS; no integrity impact is specifically established in the source material.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, harden XML parsing to disable external entity resolution. The provided advisory recommends using a custom SAXParserFactory that disables external entities by default, or setting JVM system properties to block external DTDs, schemas, and stylesheets: -Djavax.xml.accessExternalDTD="" -Djavax.xml.accessExternalSchema="" -Djavax.xml.accessExternalStylesheet="". Additional exposure reduction measures mentioned in the content include limiting untrusted XML inputs and restricting access to Struts functionality that accepts or parses XML.

Remediation

Patch, then assume compromise.

Upgrade Apache Struts to version 6.1.1 or later. The provided Apache advisory states that 6.1.1 fixes the issue, and supporting content notes the fix is backward compatible. For affected legacy and end-of-life branches, migration to a supported fixed release is the recommended remediation.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.

VALID 0 / 1 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationStrutsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity33

Community discussion across Reddit, Mastodon, and other social sources.