# CVE-2025-65924: ERPNext thru 15.88.1 does not sanitize or remove certain HTML tags specifically <a hyperlinks in fields that are intended for plain text.

- Severity: Medium 4.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-02-03T00:00:00.000Z
- Modified: 2026-06-17T09:56:05.677Z
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- frappe erpnext: up to 15.88.1

## References

- <https://github.com/frappe/frappe_docker.git> (product)

## Sources

- CVE List: [CVE-2025-65924](https://www.cve.org/CVERecord?id=CVE-2025-65924), CVE Terms of Use, modified 2026-02-17
- NVD: [CVE-2025-65924](https://nvd.nist.gov/vuln/detail/CVE-2025-65924), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-65924 · Whole record: https://cve.day/CVE-2025-65924.json · Rebuilt by cve.day 2026-11-25T22:59:11.020Z
