Critical severity9.8NVD Advisory· Published Jul 19, 2017· Updated Jun 17, 2026
CVE-2016-6798
CVE-2016-6798
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.sling:org.apache.sling.xssMaven | < 1.0.12 | 1.0.12 |
org.apache.sling:org.apache.sling.xss.compatMaven | < 1.1.0 | 1.1.0 |
Affected products
4- ghsa-coords2 versionspkg:maven/org.apache.sling/org.apache.sling.xsspkg:maven/org.apache.sling/org.apache.sling.xss.compat
< 1.0.12+ 1 more
- (no CPE)range: < 1.0.12
- (no CPE)range: < 1.1.0
Patches
Vulnerability mechanics
References
7- www.securityfocus.com/bid/99873nvdThird Party AdvisoryVDB EntryWEB
- github.com/advisories/GHSA-7g54-vgp6-jj5wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-6798ghsaADVISORY
- github.com/apache/sling-org-apache-sling-xss/commit/de32b144ad2be3367559f6184d560db42a220529ghsaWEB
- github.com/jensdietrich/xshady-release/tree/main/CVE-2016-6798ghsaWEB
- lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0@%3Cdev.sling.apache.org%3EghsaWEB
- lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0%40%3Cdev.sling.apache.org%3Envd
News mentions
0No linked articles in our index yet.