BreachSpiderVerified, not vibes

CVE-2025-65924 in Frappe Erpnext

Medium 4.1

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.1
EPSS0.3%
EPSS percentile17th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Frappe Erpnext ≤ 15.88.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-65924
BreachSpider IDBS-2026-GLOBAL-276273-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
Published2026-02-03
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-80: CWE-80

Related attack patterns (CAPEC)

CAPEC-18 XSS Targeting Non-Script Elements via CWE-80

CAPEC-32 XSS Through HTTP Query Strings via CWE-80

CAPEC-86 XSS Through HTTP Headers via CWE-80

CAPEC-193 PHP Remote File Inclusion via CWE-80

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-65924 affects ERPNext versions through 15.88.1, where unsanitized HTML tags, particularly <a> hyperlinks, can be injected into fields intended for plain text. This results in malicious clickable links being preserved in generated PDF documents, despite JavaScript being blocked.

An attacker can exploit this vulnerability by injecting malicious <a> tags into input fields that are not properly sanitized. These links will appear in the generated PDF documents, potentially leading to phishing attacks or other malicious activities when the PDF is opened and the links are clicked.

Questions

What is CVE-2025-65924?

CVE-2025-65924 affects ERPNext versions through 15.88.1, where unsanitized HTML tags, particularly <a> hyperlinks, can be injected into fields intended for plain text. This results in malicious clickable links being preserved in generated PDF documents, despite JavaScript being blocked.

What is the CVSS score for CVE-2025-65924?

CVE-2025-65924 has CVSS 4.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N. EPSS: 0.3%.

Is CVE-2025-65924 actively exploited?

No confirmed active exploitation of CVE-2025-65924 as of 2026-09-25.

How do I remediate CVE-2025-65924?

Priority: MEDIUM.

What systems are affected by CVE-2025-65924?

CVE-2025-65924 affects Frappe Erpnext.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Frappe","product":"Erpnext","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.