{"id":"CVE-2025-65924","aliases":["CVE-2025-65924"],"related":[],"kind":"vulnerability","state":"published","title":"ERPNext thru 15.88.1 does not sanitize or remove certain HTML tags specifically <a hyperlinks in fields that are intended for plain text.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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>","source":"nvd"}],"published":"2026-02-03T00:00:00.000Z","modified":"2026-06-17T09:56:05.677Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"}],"cwes":["CWE-80"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"15.88.1"}],"vendor":"frappe","product":"erpnext","cpe":"cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/frappe/frappe_docker.git","tags":["product"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-04T16:21:26.271Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-65924","url":"https://www.cve.org/CVERecord?id=CVE-2025-65924","licence":"CVE Terms of Use","modified":"2026-02-17T16:42:43.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-65924","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65924","licence":"Public domain","modified":"2026-06-17T09:56:05.677Z"}],"updatedAt":"2026-11-25T22:59:11.020Z","epss":{"score":0.00258,"percentile":0.18647,"date":"2026-12-01T12:00:22.000Z"}}