ADVISORIES

GitHub Advisory Database

GHSA-8c82-9rgp-4qvr

Improper Neutralization of Input During Web Page Generation Apache Sling Servlets Post

Moderate CVE-2017-9802

Details

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

EcosystemPackageAffected versions
Mavenorg.apache.sling:org.apache.sling.servlets.post
All versions before 2.3.22 (fixed in 2.3.22)

References