cve.bz

CVE-2016-5394

6.1 mediumEPSS 2.6%

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.6% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xwf4-88xr-hx2jMavenorg.apache.sling:org.apache.sling.xss<1.0.121.0.12
GHSA-xwf4-88xr-hx2jMavenorg.apache.sling:org.apache.sling.xss.compat<1.1.01.1.0

References

Check your stackJSON