Critical, CVSS 9.3MavenAmendedPublished
Cross-site scripting in Swagger-UI
CVE-2019-17495 · GHSA-c427-hjc3-wrfw
- Affected
- Maven org.webjars.npm:swagger-ui < 3.23.11
- Fixed in
- 3.23.11· Vendor fix available
- Issue
- 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 <style@import within the JSON data was a functional attack method.
Recommended action: Upgrade to 3.23.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.