GitHub Advisoryadvisory · Maven
GHSA-8c82-9rgp-4qvr Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post
MEDIUM
Official page ↗
- Aliases
- CVE-2017-9802
- Ecosystem
- Maven
- Packages
- org.apache.sling:org.apache.sling.servlets.post
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-06-30
Affected packages
• Maven org.apache.sling:org.apache.sling.servlets.post: < 2.3.22 → fixed in 2.3.22
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9802 advisory
- https://issues.apache.org/jira/browse/SLING-7041 web
- https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E web
- http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html web
- http://www.securityfocus.com/archive/1/541024/100/0/threaded web
- http://www.securityfocus.com/bid/100284 web