CVE-2016-6798
highpriority · attend · 50EPSS 0.037 · 90 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- tafamace/CVE-2016-6798tafamace/CVE-2016-6798PoC · poc_in_github
affected products (4)
Products and version ranges known to be affected.
- Maven org.apache.sling:org.apache.sling.xss< 1.0.12osvUSpkg:maven/org.apache.sling/org.apache.sling.xss
- Maven org.apache.sling:org.apache.sling.xss.compat< 1.1.0osvUSpkg:maven/org.apache.sling/org.apache.sling.xss.compat
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-7g54-vgp6-jj5wXML External Entity Reference in Apache Sling2022-05-17ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0@%3Cdev.sling.apache.org%3Ecnnvd
- http://www.securityfocus.com/bid/99873enisa_euvd
- https://lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0%40%3Cdev.sling.apache.org%3Eenisa_euvd
- http://www.securityfocus.com/bid/99873Third Party AdvisoryVDB Entrynvd
- https://lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0%40%3Cdev.sling.apache.org%3Envd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan