CVE-2024-24812 Frappe Authenticated Reflected Cross site scripting (XSS) in portal pages
Authenticated reflected XSS in Frappe portal pages allows attackers to inject malicious JavaScript via crafted links, potentially leading to session hijacking or code execution.
- 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-2024-24812?
CVE-2024-24812 is a medium-severity cross-site scripting vulnerability in frappe, published on 7 Feb 2024. 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 is a full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Prior to versions 14.59.0 and 15.5.0, portal pages are susceptible to Cross-Site Scripting (XSS) which can be used to inject malicious JS code if user clicks on a malicious link. This vulnerability has been patched in versions 14.59.0 and 15.5.0. No known workarounds are available.
Which versions are affected by CVE-2024-24812?
It affects 1 product.
Products include Frappe Frappe.
How do I fix CVE-2024-24812?
No fix has been published for CVE-2024-24812 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-2024-24812 being exploited?
There is no known exploitation of CVE-2024-24812 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-7p3m-h76m-hg9v.