CVE-2017-9802 json
Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post
published 2017-08-14 9 y ago modified 2026-06-17 4 mo ago also GHSA-8c82-9rgp-4qvr , EUVD-2022-3162
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.sling:org.apache.sling.servlets.post 2.3.22
Exploit prediction
3.66% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.sling:org.apache.sling.servlets.post | <2.3.22 |
2.3.22 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
issues.apache.org
/jira/browse/SLING-7041
web, issue-tracking, vendor-advisory
-
securityfocus.com
/bid/100284
vdb-entry, web, third-party-advisory
-
securityfocus.com
/archive/1/541024/100/0/threaded
mailing-list, web
-
packetstormsecurity.com
/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html
web
-
lists.apache.org
/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2017-9802
advisory
-
lists.apache.org
/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E
web
Sources
- CVE List CVE-2017-9802
- GitHub Advisory GHSA-8c82-9rgp-4qvr
- NVD CVE-2017-9802
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.