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-10T17:45:09.703Z
Modified
2026-04-10T04:43:26.666174Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

References

Affected packages

Git / github.com/marktext/marktext

Affected ranges

Type
GIT
Repo
https://github.com/marktext/marktext
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.17.0"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.10.21
v0.11.42
v0.12.20
v0.12.25
v0.13.50
v0.13.53
v0.13.65
v0.14.0
v0.14.0-rc.1
v0.15.0
v0.15.0-rc.1
v0.15.0-rc.2
v0.15.0-rc.3
v0.16.0
v0.16.0-rc.1
v0.16.0-rc.2
v0.16.0-rc.3
v0.16.2
v0.16.3
v0.3.0
v0.4.0
v0.5.2
v0.6.13
v0.7.17
v0.8.12
v0.9.25

Database specific

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