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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21158.json",
"cna_assigner": "jpcert"
}{
"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"
}
]
}