Cross-site Scripting (XSS) Affecting org.apache.sling:org.apache.sling.xss.compat package, versions [,2.0.4)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.19% (56th percentile)
Expand this section
NVD
6.1 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGAPACHESLING-31627
  • published 6 Feb 2018
  • disclosed 10 Jan 2018
  • credit Unknown

How to fix?

Upgrade org.apache.sling:org.apache.sling.xss.compat to version 2.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). A flaw in the way URLs are escaped and encoded allows special crafted URLs to pass as valid, although they carry XSS payloads.