CSS Injection Vulnerability in Swagger UI Allows CSS-Based Input Field Value Exfiltration

CSS Injection Vulnerability in Swagger UI Allows CSS-Based Input Field Value Exfiltration

CVE-2019-17495 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.