GHSA-fqx8-v33p-4qcc

    Dashboard / Vulnerabilities / GHSA-fqx8-v33p-4qcc

    GHSA-fqx8-v33p-4qcc

    Published: 14 Feb 2022Last Modified: 16 Feb 2024

    Summary: Cross-site Scripting in enshrined/svg-sanitize

    Details: ### Impact SVG sanitizer library before version `0.15.0` did not remove HTML elements wrapped in a CDATA section. As a result, SVG content embedded in HTML (fetched as `text/html`) was susceptible to cross-site scripting. Plain SVG files (fetched as `image/svg+xml`) were not affected. ### Patches This issue is fixed in `0.15.0` and higher. ### Workarounds There is currently no workaround available without upgrading. ### For more information If you have any questions or comments about this advisory: * Open an issue in [Github](https://github.com/darylldoyle/svg-sanitizer/issues) * Email us at [[email protected]](mailto:[email protected])

    Affected packages

    Package

    Name: enshrined/svg-sanitize

    Purl: pkg:composer/enshrined/svg-sanitize

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.15.0

    Affected versions

    0.1.0
    0.1.1
    0.1.2
    0.1.3
    0.1.4
    0.1.5
    0.1.6

    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-fqx8-v33p-4qcc | CVE-DB