GHSA-c427-hjc3-wrfwCriticalCVSS 9.8

Cross-site scripting in Swagger-UI

Published
October 15, 2019
Last Modified
August 26, 2024

🔗 CVE IDs covered (1)

📋 Description

A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that @import within the JSON data was a functional attack method.

🎯 Affected products4

  • npm/swagger-ui:< 3.23.11
  • maven/org.webjars:swagger-ui:< 3.23.11
  • maven/org.webjars.npm:swagger-ui:< 3.23.11
  • maven/io.springfox:springfox-swagger-ui:< 2.10.0

🔗 References (15)