Relative Path Overwrite (RPO) Affecting org.webjars.npm:swagger-ui package, versions (,3.23.11)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 1.74% (88th percentile)
Expand this section
NVD
9.8 critical

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-ORGWEBJARSNPM-480244
  • published 11 Oct 2019
  • disclosed 10 Oct 2019
  • credit crazykid95

How to fix?

Upgrade org.webjars.npm:swagger-ui to version 3.23.11 or higher.

Overview

org.webjars.npm:swagger-ui is a WebJar npm bundle for swagger-ui.

Affected versions of this package are vulnerable to Relative Path Overwrite (RPO). Attackers are able to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value i.e. allows the embedding of untrusted JSON data from remote servers, using <style>@import within the JSON data.