Skip to content

← Public intelligence

Maven package

org.apache.sling:org.apache.sling.xss

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8MavenPublished

    XML External Entity Reference in Apache Sling

    CVE-2016-6798 · GHSA-7g54-vgp6-jj5w

    Affected
    • Maven org.apache.sling:org.apache.sling.xss < 1.0.12
    Fixed in
    1.0.12· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.0.12 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.1MavenPublished

    Cross site scripting in Apache Sling

    CVE-2016-5394 · GHSA-xwf4-88xr-hx2j

    Affected
    • Maven org.apache.sling:org.apache.sling.xss < 1.0.12
    Fixed in
    1.0.12· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.0.12 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →