CVE-2022-22116

    Dashboard / Vulnerabilities / CVE-2022-22116

    CVE-2022-22116

    Published: 10 Jan 2022Last Modified: 12 Aug 2026

    Summary: Directus - Stored Cross-Site Scripting (XSS) via SVG File Upload

    Details: In Directus, versions 9.0.0-alpha.4 through 9.4.1 are vulnerable to stored Cross-Site Scripting (XSS) vulnerability via SVG file upload in media upload functionality. A low privileged attacker can inject arbitrary javascript code which will be executed in a victim’s browser when they open the image URL.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- ba72d2cfd040f7f0db282ccac006f36df6f05058
    Fixed -None

    Affected versions

    9.0.0
    9.0.0-NA

    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
    CVE-2022-22116 | CVE-DB