Read the docs
TI-2016-04672 Aliases CVE-2016-5394GHSA-xwf4-88xr-hx2j

Cross-site scripting in Apache Sling

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

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.

Why it matters now

EPSS 0.02604 85th percentileScored 2026-11-07
Fix Fixed Apache Sling (Apache Software Foundation): 1.0.12org.apache.sling:org.apache.sling.xss (Maven): 1.0.12+1 more product

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Slingbefore 1.0.121.0.12Patch availableCNA
—org.apache.sling:org.apache.sling.xss (Maven)before 1.0.121.0.12Patch availableGHSA-xwf4-88xr-hx2j
—org.apache.sling:org.apache.sling.xss.compat (Maven)before 1.1.01.1.0Patch availableGHSA-xwf4-88xr-hx2j
  • Apache Sling VendorApache Affected before 1.0.12 Fixed in 1.0.12 Patch available CNA
  • org.apache.sling:org.apache.sling.xss (Maven) Vendor— Affected before 1.0.12 Fixed in 1.0.12 Patch available GHSA-xwf4-88xr-hx2j
  • org.apache.sling:org.apache.sling.xss.compat (Maven) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-xwf4-88xr-hx2j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:*before 1.0.12VulnerableApache
  • cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:* Versions before 1.0.12 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Sling (Apache Software Foundation) Fixed in 1.0.12
  • Fix · GHSA-xwf4-88xr-hx2j org.apache.sling:org.apache.sling.xss (Maven) Fixed in 1.0.12 Advisory →
  • Fix · GHSA-xwf4-88xr-hx2j org.apache.sling:org.apache.sling.xss.compat (Maven) Fixed in 1.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-5394
  2. 2026-10-03 Alias added: GHSA-xwf4-88xr-hx2j

References

  • TI-2016-00864 The Servlets Post component 2.3.6 in Apache Sling, as used in Adobe Experience Manager… CVSS 3.0HIGH 7.5
  • TI-2016-05839 XML external entity injection in Apache Sling CVSS 3.0CRITICAL 9.8
  • TI-2013-03847 Open redirect vulnerability in the AbstractAuthenticationFormServlet in the Auth Core… CVSS 2.0MEDIUM 5.8

Sources