Relative Path Overwrite (RPO) Affecting io.springfox:springfox-swagger-ui Open this link in a new tab package, versions [,2.10.0)

  • Exploit Maturity

    Proof of concept

  • Attack Complexity


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


  • published

    11 Oct 2019

  • disclosed

    10 Oct 2019

  • credit


How to fix?

Upgrade io.springfox:springfox-swagger-ui to version 2.10.0 or higher.


io.springfox:springfox-swagger-ui is an Automated JSON API documentation for API's built with Spring

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.