CVE-2022-21158

Source
https://cve.org/CVERecord?id=CVE-2022-21158
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21158.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21158
Published
2022-03-07T09:00:35Z
Modified
2026-07-08T05:57:46.547646628Z
Summary
[none]
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21158.json",
    "cna_assigner": "jpcert"
}
References

Affected packages

Git / github.com/marktext/marktext

Affected ranges

Type
GIT
Repo
https://github.com/marktext/marktext
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "versions prior to v0.17.0"
        },
        {
            "last_affected": "versions prior to v0.17.0"
        },
        {
            "introduced": "0"
        },
        {
            "fixed": "0.17.0"
        }
    ]
}

Affected versions

versions prior to v0.*
versions prior to v0.17.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21158.json"