Cross-site scripting in Swagger-UI
Critical severity
GitHub Reviewed
Published
Oct 15, 2019
to the GitHub Advisory Database
•
Updated Aug 26, 2024
Description
Published by the National Vulnerability Database
Oct 10, 2019
Reviewed
Oct 14, 2019
Published to the GitHub Advisory Database
Oct 15, 2019
Last updated
Aug 26, 2024
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.
References