CVE-2023-54408 Frappe before 14.31.0 HTML Injection via Weak Escaping
Attackers can inject malicious HTML into Frappe pages, leading to cross-site scripting and potential user account compromise.
- 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-54408?
CVE-2023-54408 is a medium-severity cross-site scripting vulnerability in frappe, published on 12 Oct 2026. 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
Frappe before 13.52.0 and 14.x before 14.31.0 contains an HTML injection vulnerability caused by weak escaping of user-supplied content rendered in pages. Attackers can submit crafted HTML that bypasses the insufficient escaping and is rendered in the browsers of users who view it, enabling cross-site scripting.
Weakness: CWE-79
Which versions are affected by CVE-2023-54408?
How do I fix CVE-2023-54408?
No fix has been published for CVE-2023-54408 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-54408 being exploited?
There is no known exploitation of CVE-2023-54408 in the wild and no public exploit code.
Sources
Also known as GHSA-4jj9-5vgc-gc4j, GHSA-j2cw-j8pf-626h.