CWE
79
Advisory Published
Updated

CVE-2017-9802: XSS

First published: Mon Aug 14 2017(Updated: )

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.

Credit: security@apache.org

Affected SoftwareAffected VersionHow to fix
Apache Sling API<=2.3.20

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-9802?

    CVE-2017-9802 has a medium severity rating due to its potential for cross-site scripting (XSS) attacks.

  • How do I fix CVE-2017-9802?

    To fix CVE-2017-9802, upgrade Apache Sling Servlets Post to version 2.3.22 or later.

  • What impacts does CVE-2017-9802 have on affected systems?

    CVE-2017-9802 allows attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially compromising sensitive information.

  • Which versions of Apache Sling Servlets Post are affected by CVE-2017-9802?

    Apache Sling Servlets Post versions prior to 2.3.22 are affected by CVE-2017-9802.

  • How does CVE-2017-9802 allow for XSS attacks?

    CVE-2017-9802 utilizes the Javascript 'eval' function to process input strings without adequate sanitization, enabling XSS exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203