CVE-2023-46127 Frappe vulnerable to HTML injection by any Desk user
A malicious user with desk access can inject HTML payloads into documents, potentially leading to script execution or account takeover in Frappe applications.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-46127?
CVE-2023-46127 is a medium-severity cross-site scripting vulnerability in frappe, published on 23 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Frappe is a full-stack web application framework that uses Python and MariaDB on the server side and an integrated client side library. A malicious Frappe user with desk access could create documents containing HTML payloads allowing HTML Injection. This vulnerability has been patched in version 14.49.0.
Weakness: CWE-79
Which versions are affected by CVE-2023-46127?
It affects 1 product.
Products include Frappe Frappe.
How do I fix CVE-2023-46127?
No fix has been published for CVE-2023-46127 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-46127 being exploited?
There is no known exploitation of CVE-2023-46127 in the wild and no public exploit code.
Other vulnerabilities in frappe
- CVE-2019-14965 Code injection in n/a
- CVE-2026-35614 Frappe has a SQL injection in bulk_update
- CVE-2026-31877 Frappe SQL Injection due to improper field sanitization
- CVE-2025-68929 Frappe may be vulnerable remote code execution due to server-side template injection
- CVE-2019-14966 SQL injection in n/a
Sources
Also known as GHSA-j2w9-8xrr-7g98.