Skip to content

MarkText through 0.16.3 does not sanitize the input of a...

Critical severity Unreviewed Published Jan 31, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.

References

Published by the National Vulnerability Database Jan 29, 2022
Published to the GitHub Advisory Database Jan 31, 2022
Last updated Feb 3, 2023

Severity

Critical

EPSS score

0.243%
(65th percentile)

Weaknesses

CVE ID

CVE-2022-24123

GHSA ID

GHSA-wfqr-2wcw-6gjv

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.