CVE-2017-9802 · apache
CVE-2017-9802
The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript 'eval' function to parse input strings, which allows for XSS attacks by passing specially crafted input strings.
Published 2017-08-14, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: org.apache.sling:org.apache.sling.servlets.post 2.3.22 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2017-08-14 | Published |
| 2022-05-14 | Package advisory GHSA-8c82-9rgp-4qvr |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.66% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8c82-9rgp-4qvr | org.apache.sling:org.apache.sling.servlets.post (Maven) | 2.3.22 |
Also known as: GHSA-8c82-9rgp-4qvr
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2016-0956 | 2016-02-10 | 7.5 | same package: org.apache.sling:org.apache.sling.servlets.post (Maven) |
| CVE-2015-2944 | 2015-06-02 | 4.3 | same package: org.apache.sling:org.apache.sling.servlets.post (Maven) |
| CVE-2012-2138 | 2012-07-09 | 5 | same package: org.apache.sling:org.apache.sling.servlets.post (Maven) |
| CVE-2026-143960 | 2026-12-03 | - | Apache OFBiz: Incomplete Fix for Reflected Cross-site Scripting in URL Parameter Check Enables Script Injection |
| CVE-2026-138277 | 2026-11-30 | 2.3 | Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports |
| CVE-2026-133643 | 2026-11-30 | 6.1 | Apache Struts: doubleselect tag writes a value into the page script without script escaping |
| CVE-2026-133639 | 2026-11-30 | 6.1 | Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping |
| CVE-2026-115626 | 2026-11-30 | 6.1 | Apache OpenMeetings, Apache OpenMeetings Docker: Stored XSS via unvalidated profilePictureUri |
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-2017-9802, or call /api/v1/vulnerabilities/CVE-2017-9802. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.