CVE-2025-68493: Apache Struts 2 XML Validation Vulnerability

Summary

11/01/2026
No i
High
8.1

CVE-2025-68493: Apache Struts 2 is Missing XML Validation. Affects org.apache.struts:struts2-core across 3 version ranges.

>= 2.0.0, <= 2.3.37 >= 2.5.0, <= 2.5.33 >= 6.0.0, < 6.1.1

No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Struts 2 is a popular open-source framework for building web applications in Java. It provides a robust architecture for developing enterprise-level applications, enabling developers to create dynamic web content with ease. However, certain versions of Apache Struts 2 are vulnerable to a Missing XML Validation issue, which can lead to severe security risks if not addressed.

Vulnerability Detail

The Missing XML Validation vulnerability in Apache Struts 2 arises from the framework's failure to properly validate XML input. This oversight can allow attackers to exploit the application by injecting malicious XML data, potentially leading to unauthorized access, data manipulation, or denial of service. The vulnerability affects versions from 2.0.0 to 6.1.0, making it critical for users to be aware of their current version and the associated risks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can implement input validation on their XML data before processing it with Apache Struts. This can help mitigate the risk of malicious XML injection until an upgrade can be performed.

Conclusion

The Missing XML Validation vulnerability in Apache Struts 2 poses significant risks to applications using affected versions. It is crucial for users to upgrade to version 6.1.1 or later to ensure their applications are secure. Implementing input validation can serve as a temporary measure until an upgrade is feasible.

See every vulnerability recorded for org.apache.struts:struts2-core →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

The vulnerability affects Apache Struts versions from 2.0.0 to 6.1.0.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By simply analyzing your pom.xml file, Vulert can help identify if your application is affected by this vulnerability.

Yes, implementing input validation on XML data can serve as a temporary workaround to reduce the risk of exploitation.

Detailed information about this vulnerability can be found in the advisory database on GitHub and other security resources.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.struts:struts2-core.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback