Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
SecT0uch/CVE-2019-17495-test ★ 0 · Dec 24, 2019
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.springfox:springfox-swagger-ui | < 2.10.0 | 2.10.0 | GHSA-c427-hjc3-wrfw |
| Maven | org.webjars:swagger-ui | < 3.23.11 | 3.23.11 | GHSA-c427-hjc3-wrfw |
| Maven | org.webjars.npm:swagger-ui | < 3.23.11 | 3.23.11 | GHSA-c427-hjc3-wrfw |
| npm | swagger-ui | < 3.23.11 | 3.23.11 | GHSA-c427-hjc3-wrfw |
Advisories 3
- WID-SEC-2026-0559 IBM Rational Build Forge: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 1, 2026
- WID-SEC-2024-1107 SAP Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 13, 2024
- WID-SEC-2023-1048 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 4, 2024
References
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/tarantula-team/CSS-injection-in-Swagger-UI
- https://github.com/swagger-api/swagger-ui/releases/tag/v3.23.11
- https://www.oracle.com/security-alerts/cpuApr2021.html
- [airflow-commits] 20210920 [GitHub] [airflow] boring-cyborg[bot] commented on issue #18383: CVE-2019-17495 for swagger-ui mailing-list
- [airflow-commits] 20210920 [GitHub] [airflow] beltran-rubo opened a new issue #18383: CVE-2019-17495 for swagger-ui mailing-list
- [airflow-commits] 20210920 [GitHub] [airflow] uranusjr commented on issue #18383: CVE-2019-17495 for swagger-ui mailing-list
- [airflow-commits] 20210921 [GitHub] [airflow] beltran-rubo commented on issue #18383: CVE-2019-17495 for swagger-ui mailing-list
- [airflow-commits] 20210921 [GitHub] [airflow] beltran-rubo closed issue #18383: CVE-2019-17495 for swagger-ui mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html