Skip to main content
← All vulnerabilities
CVE-2019-17495GHSA-C427-HJC3-WRFW

A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.23.11, 2.10.0
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • swagger-uinpm

    fixed in 3.23.11

  • org.webjars:swagger-uiMaven

    fixed in 3.23.11

  • org.webjars.npm:swagger-uiMaven

    fixed in 3.23.11

  • io.springfox:springfox-swagger-uiMaven

    fixed in 2.10.0

References 12

oracle.com

GitHub · tarantula-team/CSS-injection-in-Swagger-UI

GitHub · swagger-api/swagger-ui

lists.apache.org

GitHub · SecT0uch/CVE-2019-17495-test