Security mailing lists by PureSourceCode

CVE-2016-5394

MEDIUM 6.1CVSS 3.1

Cross site scripting in Apache Sling

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.

Published
19 Jul 2017
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-xwf4-88xr-hx2j
Sources
NVDJSONOSV GHSA-xwf4-88xr-hx2jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache sling
cpe:2.3:a:apache:sling:*:*:*:*:*:*:*:*
< 1.0.12 1.0.12
OSV Maven org.apache.sling:org.apache.sling.xss < 1.0.12 1.0.12
OSV Maven org.apache.sling:org.apache.sling.xss.compat < 1.1.0 1.1.0

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Jul 2017)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.