Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/swagger-ui@3.20.7
purl pkg:npm/swagger-ui@3.20.7
Next non-vulnerable version 3.23.11
Latest non-vulnerable version 4.1.3
Risk
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-gdhu-jxfv-k7a9
Aliases:
CVE-2019-17495
GHSA-c427-hjc3-wrfw
Injection Vulnerability A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI 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.
3.23.11
Affected by 0 other vulnerabilities.
VCID-mpx5-7r4y-77a9
Aliases:
GHSA-4f9m-pxwh-68hg
GMS-2020-782
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swagger-ui.
3.20.9
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-04T20:38:30.383488+00:00 GitLab Importer Affected by VCID-mpx5-7r4y-77a9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/swagger-ui/GMS-2020-782.yml 38.6.0
2026-06-04T20:24:55.594700+00:00 GitLab Importer Affected by VCID-gdhu-jxfv-k7a9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/swagger-ui/CVE-2019-17495.yml 38.6.0