All reports
Critical

XML External Entity Reference in Apache Sling

Affected versions

Affected versions
< 1.1.0
Fixed version
1.1.0
Affected versions
< 1.0.12
Fixed version
1.0.12

Exploitation

CVE-2016-6798

Probability of exploitation in the next 30 days: 3.67%

FIRST EPSS · 2026-11-23

Description

In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX parser to validate the input string, which allows for XXE attacks in all scripts which use this method to validate user input, potentially allowing an attacker to read sensitive data on the filesystem, perform same-site-request-forgery (SSRF), port-scanning behind the firewall or DoS the application.

Links

Credits

  • wtwhite