CVE-2025-65924 Cross-site scripting in n/a
Attackers can inject malicious links into ERP-generated PDFs via unsanitized HTML, enabling phishing or malware delivery to users.
- 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-2025-65924?
CVE-2025-65924 is a medium-severity cross-site scripting vulnerability in Frappe Erpnext, published on 3 Feb 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
ERPNext thru 15.88.1 does not sanitize or remove certain HTML tags specifically `<a>` hyperlinks in fields that are intended for plain text. Although JavaScript is blocked (preventing XSS), the HTML is still preserved in the generated PDF document. As a result, an attacker can inject malicious clickable links into an ERP-generated PDF. Since PDF files generated by the ERP system are generally considered trustworthy, users are highly likely to click these links, potentially enabling phishing attacks or malware delivery. This issue occurs in the Add Quality Goal' function.
Weakness: CWE-80
Which versions are affected by CVE-2025-65924?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2025-65924?
No fix has been published for CVE-2025-65924 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-2025-65924 being exploited?
There is no known exploitation of CVE-2025-65924 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-2wwr-rx4c-q4hx.