{"id":"CVE-2017-9802","aliases":["EUVD-2022-3162","GHSA-8c82-9rgp-4qvr"],"status":"published","title":"Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post","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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03657,"percentile":0.89697,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-08-14T13:00:00Z","modified":"2026-06-17T01:28:57Z","fixes":[{"ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.servlets.post","fixed_in":["2.3.22"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.servlets.post","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.22"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.sling:org.apache.sling.servlets.post","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.22"}]}],"versions":["2.0.2-incubator","2.0.4-incubator","2.1.0","2.1.2","2.2.0","2.3.0","2.3.10","2.3.12","2.3.14","2.3.16","2.3.18","2.3.2","2.3.20","2.3.4","2.3.6","2.3.8"]}],"products":[{"vendor":"apache","product":"sling_servlets_post"}],"references":[{"url":"http://www.securityfocus.com/bid/100284","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"http://www.securityfocus.com/archive/1/541024/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/143758/Apache-Sling-Servlets-Post-2.3.20-Cross-Site-Scripting.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91%40%3Cdev.sling.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://issues.apache.org/jira/browse/SLING-7041","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9802","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/2f4b8333e44c6e7e0b00933bd4204ce64829952f60dbb6814f2cdf91@%3Cdev.sling.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8c82-9rgp-4qvr"}],"sources":{"cve":[{"id":"CVE-2017-9802","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.","status":"published","published":"2017-08-14T13:00:00Z","modified":"2024-08-05T17:18:01.967Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2022-3162","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.","status":"published","published":"2017-08-14T13:00:00Z","modified":"2024-08-05T17:18:01Z","updated_at":"2026-11-03T02:23:26.706423Z"}],"ghsa":[{"id":"GHSA-8c82-9rgp-4qvr","title":"Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post","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.","status":"published","published":"2022-05-14T02:45:32Z","modified":"2023-01-27T05:02:25Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:18.427692Z"}],"nvd":[{"id":"CVE-2017-9802","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.","status":"published","published":"2017-08-14T13:29:00.217Z","modified":"2026-06-17T01:28:57.097Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"GHSA-8c82-9rgp-4qvr","title":"Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post","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.","status":"published","published":"2022-05-14T02:45:32Z","modified":"2023-11-08T03:59:29.744402Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:42.077781Z"}]}}
