{"id":"CVE-2016-6798","published":"2017-07-19T15:00:00Z","modified":"2024-09-16T16:47:49Z","title":"In the XSS Protection API module before 1.0.12 in Apache Sling, the method XSS.getValidXML() uses an insecure SAX…","vendor":"Apache","product":"Apache Sling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03669,"percentile":0.89918,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/b72c3a511592ec70729b3ec2d29302b6ce87bbeab62d4745617a6bd0%40%3Cdev.sling.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/99873","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":17.98}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Sling","versions":["prior to 1.0.12"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.xss","vulnerableRanges":["<1.0.12"],"patched":["1.0.12"],"from":["GHSA-7g54-vgp6-jj5w"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.xss.compat","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-7g54-vgp6-jj5w"],"provenance":"source"}],"summary":{"text":"The XSS Protection API module in Apache Sling before version 1.0.12 has a flaw in its XSS.getValidXML() method, which validates input with an insecure SAX parser. An attacker able to supply input to any script that calls this method can exploit the resulting XML external entity (XXE) weakness to read sensitive files on the filesystem, perform server-side request forgery, port-scan systems behind the firewall, or cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:22Z"},"euvd":{"id":"EUVD-2022-2991","exploited":false,"provenance":"source"}}