CVE-2019-17495Smartbear Swagger Ui
Critical 9.8 No auth needed
Follow: this CVE · Smartbear · Smartbear Swagger Ui We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 5.7% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Oct 10, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Swagger Ui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.springfox:springfox-swagger-ui |
< 2.10.0 |
2.10.0 |
— |
| Maven | org.webjars.npm:swagger-ui |
< 3.23.11 |
3.23.11 |
— |
| Maven | org.webjars:swagger-ui |
< 3.23.11 |
3.23.11 |
— |
| npm | swagger-ui |
< 3.23.11 |
3.23.11 |
npm install swagger-ui@3.23.11 |
Per OSV / GitHub Advisories (GHSA-c427-hjc3-wrfw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| smartbear | swagger_ui | < 3.23.11 |
| oracle | banking_apis | ≥ 18.1 ≤ 18.3 |
| oracle | banking_apis | 19.1 |
| oracle | banking_apis | 19.2 |
| oracle | banking_apis | 20.1 |
| oracle | banking_apis | 21.1 |
| oracle | banking_digital_experience | ≥ 18.1 ≤ 18.3 |
| oracle | banking_digital_experience | 19.1 |
| oracle | banking_digital_experience | 19.2 |
| oracle | banking_digital_experience | 20.1 |
| oracle | banking_digital_experience | 21.1 |
| oracle | banking_platform | ≥ 2.4.0 ≤ 2.10.0 |
| oracle | primavera_gateway | ≥ 16.2.0 ≤ 16.2.11 |
| oracle | primavera_gateway | ≥ 17.12.0 ≤ 17.12.8 |
| oracle | utilities_framework | 4.3.0.6.0 |
| oracle | utilities_framework | 4.4.0.0.0 |
| oracle | utilities_framework | 4.4.0.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Exploit Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com
- www.oracle.com Patch Third Party Advisory