Read the docs

Stored cross-site scripting in Frappe ERPNext CRM notes

Priority MEDIUM 56CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Frappe ERPNext from 14.0.0 before 15.124.0 and from 16.0.0 before 16.52.0 contains a stored cross-site scripting flaw (CWE-79) in the CRM module. Notes on Leads and Opportunities are saved without passing through the HTML sanitiser. An authenticated user with the Sales User role can save a crafted note that runs in another user's session when that user opens the record, acting with their permissions.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

Frappe ERPNext 14.0.0 before 15.124.0 and 16.x before 16.52.0 contains a stored cross-site scripting vulnerability in the CRM module because notes on Leads and Opportunities are saved without passing through the HTML sanitiser. Authenticated users with the Sales User role can save a note containing a crafted payload that executes in another user's session when they open the record, acting with that user's permissions.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00235 8th percentileScored 2026-11-30
Fix Fixed erpnext (frappe): 15.124.0, 16.52.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
frappeerpnext14.0.0 to before 15.124.015.124.0Patch availableCNA
frappeerpnext16.0.0 to before 16.52.016.52.0Patch availableCNA
  • erpnext Vendorfrappe Affected 14.0.0 to before 15.124.0 Fixed in 15.124.0 Patch available CNA
  • erpnext Vendorfrappe Affected 16.0.0 to before 16.52.0 Fixed in 16.52.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*——frappe
  • cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:* Versions — — ·frappe

Remediation

Upgrade Frappe ERPNext to 15.124.0 for the 15.x line or to 16.52.0 for the 16.x line.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA erpnext (frappe) Fixed in 15.124.0
  • Fix · CNA erpnext (frappe) Fixed in 16.52.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    frappe erpnext 15.124.0, 16.52.0

    10 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 6 LOW

    Other records, highest priority first

    • TI-2026-96359 Information disclosure in Frappe ERPNext supplier e-invoice filesPriority HIGH 70
    • TI-2026-96382 Missing authorization in Frappe ERPNext customer and supplier portalsPriority HIGH 69
    • TI-2026-96355 Missing authorization in Frappe ERPNext Assets depreciation endpointsPriority MEDIUM 57

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134388
  2. 2026-11-21 Alias added: GHSA-w4cr-pc79-2qgv
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-28140 ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1CRITICAL 9.8
  • TI-2025-40873 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40872 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40871 A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext… CVSS 3.1CRITICAL 9.8
  • TI-2025-32462 In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at… CVSS 3.1HIGH 8.2
  • TI-2025-32461 In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at… CVSS 3.1HIGH 8.2
See all 408 →

Sources