KeygraphLabs · CVE MCP

CVE-2016-5394 · redhat

CVE-2016-5394

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 2017-07-19, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
2.60%
percentile 85.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.sling:org.apache.sling.xss 1.0.12 (Maven); org.apache.sling:org.apache.sling.xss.compat 1.1.0 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-07-19Published
2022-05-13Package advisory GHSA-xwf4-88xr-hx2j
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.60%

Affected packages

AdvisoryPackageFixed in
GHSA-xwf4-88xr-hx2jorg.apache.sling:org.apache.sling.xss (Maven)1.0.12
GHSA-xwf4-88xr-hx2jorg.apache.sling:org.apache.sling.xss.compat (Maven)1.1.0

Also known as: GHSA-xwf4-88xr-hx2j

Related

CVEPublishedCVSSSummary
CVE-2017-157172018-01-106.1same package: org.apache.sling:org.apache.sling.xss (Maven)
CVE-2016-67982017-07-199.8same package: org.apache.sling:org.apache.sling.xss (Maven)
CVE-2026-1288242026-11-135.4Quay: quay: reflected xss via image_id in v1 registry error responses
CVE-2026-1091312026-10-155.4Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl)
CVE-2026-1078892026-10-095.5Keycloak-services: keycloak-services: stored xss on login page via kcsanitize bypass
CVE-2026-1060332026-10-065.4Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter
CVE-2026-1025762026-10-054.2Quay: quay: dom-based cross-site scripting via unvalidated redirect_url on signin page
CVE-2026-1022952026-10-055.4Quay: quay: dom-based cross-site scripting via oauth local callback format=json parameter

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-5394, or call /api/v1/vulnerabilities/CVE-2016-5394. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org