4.1medium
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
- 4.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| frappe erpnext | up to 15.88.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
ERPNext hasta la versión 15.88.1 no sanea ni elimina ciertas etiquetas HTML, específicamente hipervínculos '<a rel="nofollow">', en campos destinados a texto sin formato. Aunque JavaScript está bloqueado (lo que previene XSS), el HTML aún se conserva en el documento PDF generado. Como resultado, un atacante puede inyectar enlaces maliciosos en los que se puede hacer clic en un PDF generado por el ERP. Dado que los archivos PDF generados por el sistema ERP generalmente se consideran confiables, es muy probable que los usuarios hagan clic en estos enlaces, lo que podría facilitar ataques de phishing o la entrega de malware. Este problema ocurre en la función 'Add Quality Goal'.</a>
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-65924 changed 2026-02-17 | CVE Terms of Use |
| NVD | CVE-2025-65924 changed 2026-06-17 | Public domain |