CVE-2022-21158

MEDIUM
5.4
CVSS Score
Published: March 7, 2022 at 09:00 AM UTC
Updated: June 17, 2026 at 04:25 AM UTC
1 product affected across 1 vendorMarkText

Using MarkText by MarkText?

Get instant alerts when new vulnerabilities affect MarkText - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.5%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.17.0
Affected range stops below 0.17.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

x_refsource_MISCRelease NotesThird Party Advisory
https://github.com/marktext/marktext/releases/tag/v0.17.0
x_refsource_MISCThird Party AdvisoryVDB Entry
https://jvn.jp/en/jp/JVN89524240/index.html

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card