{"id":"CVE-2017-9802","published":"2017-08-14T13:00:00Z","modified":"2024-08-05T17:18:01Z","title":"The Javascript method Sling.evalString() in Apache Sling Servlets Post before 2.3.22 uses the javascript 'eval'…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03657,"percentile":0.89888,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/100284","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/541024/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://issues.apache.org/jira/browse/SLING-7041","tags":["x_refsource_CONFIRM"]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":17.98},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.servlets.post","vulnerableRanges":["<2.3.22"],"patched":["2.3.22"],"from":["GHSA-8c82-9rgp-4qvr"],"provenance":"source"}],"summary":{"text":"The flaw is in the Sling.evalString() JavaScript method of Apache Sling Servlets Post (versions before 2.3.22), which parses input strings using the JavaScript eval function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:37Z"},"euvd":{"id":"EUVD-2022-3162","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html"],"lineage":{"packageHistory":[{"cve":"CVE-2012-2138","published":"2012-07-09","fixed":"2.1.2","kev":false},{"cve":"CVE-2015-2944","published":"2015-06-02","fixed":"2.1.2","kev":false},{"cve":"CVE-2016-0956","published":"2016-02-10","fixed":"2.3.8","kev":false,"link":{"from":"CVE-2016-0956","to":"CVE-2017-9802","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.sling:org.apache.sling.servlets.post","fromFixed":"2.3.8","toFixed":"2.3.22","daysApart":551},{"kind":"similar","provenance":"machine","score":0.54,"basis":"same package + description similarity"}]}},{"cve":"CVE-2017-9802","published":"2017-08-14","fixed":"2.3.22","kev":false}],"package":"Maven:org.apache.sling:org.apache.sling.servlets.post"}}