Missing XML Validation Affecting org.apache.struts:struts2-core package, versions [,6.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-14915536
  • published13 Jan 2026
  • disclosed11 Jan 2026
  • creditZAST.AI

Introduced: 11 Jan 2026

CVE-2025-68493  (opens in a new tab)
CWE-112  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 6.1.1 or higher.

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

Affected versions of this package are vulnerable to Missing XML Validation. An attacker can access sensitive information or cause a denial of service by submitting specially crafted XML input.

Workaround

This vulnerability can be mitigated by:

  1. Using a custom SAXParserFactory: set xwork.saxParserFactory= to a custom factory class that disables external entities by default.

  2. Defining JVM-level configuration: configure the JVM's default XML parser to disable external entities via system properties (set to empty string to block all protocols):

CVSS Base Scores

version 4.0
version 3.1