CVE-2022-21158

    Dashboard / Vulnerabilities / CVE-2022-21158

    CVE-2022-21158

    Published: 7 Mar 2022Last Modified: 21 Oct 2026

    Summary:

    Details: A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v0.16.3
    v0.16.2
    v0.16.0
    v0.16.0-rc.3
    v0.16.0-rc.2
    v0.16.0-rc.1

    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-21158 | CVE-DB