CVE-2017-9802
mediumpriority · track · 25EPSS 0.037 · 90 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Maven org.apache.sling:org.apache.sling.servlets.post< 2.3.22osvUSpkg:maven/org.apache.sling/org.apache.sling.servlets.post
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8c82-9rgp-4qvrImproper Neutralization of Input During Web Page Generation Apache Sling Servlets Post2022-05-14ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://issues.apache.org/jira/browse/SLING-7041cnnvd
- https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3Ecnnvd
- http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.htmlenisa_euvd
- http://www.securityfocus.com/archive/1/541024/100/0/threadedenisa_euvd
- http://www.securityfocus.com/bid/100284enisa_euvd
- https://issues.apache.org/jira/browse/SLING-7041enisa_euvd
- https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apache.org%3Eenisa_euvd
- http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan