CVE-2025-65924: XSS

Published Feb 3, 2026
·
Updated

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 Software

2 affected components
pypi/erpnext<=15.88.1
Frappe ERPNext<=15.88.1

Event History

Feb 3, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-65924?

CVE-2025-65924 has a high severity due to the potential for phishing attacks via the injected hyperlinks.

2

How do I fix CVE-2025-65924?

To fix CVE-2025-65924, upgrade ERPNext to version 15.89.0 or later where the HTML sanitization issue has been resolved.

3

What specific HTML tags are problematic in CVE-2025-65924?

CVE-2025-65924 specifically fails to sanitize `<a>` hyperlink tags in fields meant for plain text.

4

Can CVE-2025-65924 lead to XSS attacks?

CVE-2025-65924 does not lead to XSS attacks as JavaScript is blocked, but it can still lead to malicious click phishing.

5

Which versions of ERPNext are affected by CVE-2025-65924?

ERPNext versions up to and including 15.88.1 are affected by CVE-2025-65924.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203