Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.servlets.post | < 2.3.22 | 2.3.22 | GHSA-8c82-9rgp-4qvr |
References
- 100284 vdb-entry
- 20170814 CVE-2017-9802: Apache Sling XSS vulnerability mailing-list
- http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html
- [dev] 20170814 CVE-2017-9802: Apache Sling XSS vulnerability mailing-list
- https://issues.apache.org/jira/browse/SLING-7041