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.
References (5)
Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/100284
Exploit, Third Party Advisory x_refsource_misc
http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apache.org%3E
Issue Tracking, Vendor Advisory x_refsource_confirm
https://issues.apache.org/jira/browse/SLING-7041
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/541024/100/0/threaded
Scores
CVSS v3
6.1
EPSS
0.0058
EPSS Percentile
69.2%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (2)
apache/sling_servlets_post
< 2.3.20
org.apache.sling/org.apache.sling.servlets.post
0 - 2.3.22Maven
Published
Aug 14, 2017
Tracked Since
Feb 18, 2026