logo

CVE-2019-17495 swagger-ui

Package

Manager: npm
Name: swagger-ui
Vulnerable Version: >=0 <3.23.11

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.14931 pctl0.94298

Details

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. 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.

Metadata

Created: 2019-10-15T19:27:05Z
Modified: 2024-08-26T15:52:58Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-c427-hjc3-wrfw/GHSA-c427-hjc3-wrfw.json
CWE IDs: ["CWE-352", "CWE-79"]
Alternative ID: GHSA-c427-hjc3-wrfw
Finding: F008
Auto approve: 1