Skip to main content
← All vulnerabilities
CVE-2016-5394GHSA-XWF4-88XR-HX2J

In the XSS Protection API module before 1.0.12 in Apache Sling, the encoding done by the XSSAPI.encodeForJSString() method is not restrictiv

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

Summary

In the XSS Protection API module before 1.0.12 in Apache Sling, the encoding done by the XSSAPI.encodeForJSString() method is not restrictive enough and for some input patterns allows script tags to pass through unencoded, leading to potential XSS vulnerabilities.

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 4

lists.apache.org

securityfocus.com

GitHub · epicosy/VUL4J-23

GitHub · shoucheng3/apache__sling-org-apache-sling-xss_CVE-2016-5394_1-0-8