CVE-2023-29641 editor.md vulnerable to Cross-site Scripting

Medium 6.1 Published Updated

Attackers can inject arbitrary web script or HTML via crafted markdown text in the pandao editor.md library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-29641?

CVE-2023-29641 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross Site Scripting (XSS) vulnerability in pandao editor.md thru 1.5.0 allows attackers to inject arbitrary web script or HTML via crafted markdown text.

Weakness: CWE-79

Which versions are affected by CVE-2023-29641?

2 open source packages ship an affected version, including editor.md. It affects 1 product.

PackageAffectedFixed in
editor.md npmAll versions to 1.5.0None
editor.md npmAll versions to 1.5.0None

Products include Ipandao Editor.md.

How do I fix CVE-2023-29641?

No fix has been published for CVE-2023-29641 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-29641 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-29641 exists.

Sources

Also known as GHSA-847g-34c5-vvm8.

Is CVE-2023-29641 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free