GHSA-c427-hjc3-wrfw

    Dashboard / Vulnerabilities / GHSA-c427-hjc3-wrfw

    GHSA-c427-hjc3-wrfw

    Published: 15 Oct 2019Last Modified: 26 Aug 2024

    Summary: Cross-site scripting in Swagger-UI

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

    Affected packages

    Package

    Name: swagger-ui

    Purl: pkg:npm/swagger-ui

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.23.11

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-c427-hjc3-wrfw | CVE-DB