Skip to main content
← All vulnerabilities
CVE-2016-6798GHSA-7G54-VGP6-JJ5W

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 inp

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.12, 1.1.0
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Apache Software Foundation Apache Sling

    prior to 1.0.12

  • org.apache.sling:org.apache.sling.xssMaven

    fixed in 1.0.12

  • org.apache.sling:org.apache.sling.xss.compatMaven

    fixed in 1.1.0

References 3

lists.apache.org

securityfocus.com

GitHub · tafamace/CVE-2016-6798