CVE-2023-54409 Frappe before 13.46.1 XSS via html2text Weak Sanitization

Medium 5.9 Published Updated

Authenticated attackers can execute arbitrary scripts in victim browsers via insufficiently sanitized HTML input in the Frappe framework.

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

What is CVE-2023-54409?

CVE-2023-54409 is a medium-severity cross-site scripting vulnerability in frappe, published on 12 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Frappe before 13.46.1 and 14.x before 14.20.0 contains a cross-site scripting vulnerability because the html2text function weakly sanitizes user input. Authenticated attackers can supply crafted HTML that is insufficiently sanitized by html2text, executing scripts in the browsers of users who view the rendered content.

Weakness: CWE-80

Which versions are affected by CVE-2023-54409?

How do I fix CVE-2023-54409?

No fix has been published for CVE-2023-54409 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-54409 being exploited?

There is no known exploitation of CVE-2023-54409 in the wild and no public exploit code.

Sources

Also known as GHSA-w4rh-867r-qwp3, GHSA-wp7j-3w22-93j6.

Is CVE-2023-54409 in your software?

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

Check your SBOMs for free