Advisory

GHSA-c427-hjc3-wrfw

Also known as: CVE-2019-17495

Summary

Cross-site scripting in Swagger-UI

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-10-15 19:27 UTC
Modified
2024-08-26 16:00 UTC

Affected packages and fixes

swagger-ui

npm · All systems

Affected

  • introduced 0, fixed 3.23.11 (semver)

Fixed versions

3.23.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences