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.
{
"cna_assigner": "jpcert",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21158.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.17.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "VersionTextExtraction"
},
{
"original_tag": "v0.17.0",
"range": [
{
"fixed": "637395a1f78278e375e0753c7b18e7833a6b9d58"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.17.0"
}
],
"source": "CPE_RANGE"
}
]
}