Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting org.apache.sling:org.apache.sling.xss package, versions [,2.4.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (27th 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-ORGAPACHESLING-20186802
  • published28 Sept 2026
  • disclosed23 Sept 2026
  • creditUnknown

Introduced: 23 Sep 2026

NewCVE-2026-92001  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade org.apache.sling:org.apache.sling.xss to version 2.4.12 or higher.

Overview

org.apache.sling:org.apache.sling.xss is a package for providing XSS protection based on the OWASP AntiSamy and OWASP Java Encoder libraries.

Affected versions of this package are vulnerable to Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') due to missing resource limits in the XML parser. An attacker can cause excessive resource consumption or denial of service by submitting specially crafted XML data containing recursive entity references.

CVSS Base Scores

version 4.0
version 3.1