Loading advisory.
Loading advisory.
Cross-site scripting in Swagger-UI
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.
Published 2019-10-10 21:04 UTC · Modified 2024-08-26 16:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| swagger-ui | npm | < 3.23.11 | 3.23.11 | npm install swagger-ui@3.23.11 |
| org.webjars:swagger-ui | Maven | < 3.23.11 versions 2.0.12, 2.0.14, 2.0.14-1, 2.0.17, 2.0.18, 2.0.21, 2.0.22, 2.0.24, 2.1.0, 2.1.0-M1, 2.1.0-alpha.6, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.8-M1, 2.2.0, 2.2.10, 2.2.10-1 and 71 more | 3.23.11 | No single command for Maven. Update to 3.23.11 in your build file. |
| org.webjars.npm:swagger-ui | Maven | < 3.23.11 versions 2.1.3, 2.1.4, 2.1.5, 2.2.0, 2.2.10, 2.2.8, 3.0.12, 3.0.14, 3.0.17, 3.0.18, 3.0.2, 3.0.20, 3.0.6, 3.1.4, 3.1.6, 3.1.7, 3.10.0, 3.12.0, 3.17.0, 3.17.6 and 20 more | 3.23.11 | No single command for Maven. Update to 3.23.11 in your build file. |
| io.springfox:springfox-swagger-ui | Maven | < 2.10.0 versions 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 2.7.0, 2.8.0, 2.9.1, 2.9.2 | 2.10.0 | No single command for Maven. Update to 2.10.0 in your build file. |
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
One EPSS score on record: 0.057 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.057 | first score | v2026.06.15 |