Read the docs
TI-2023-30883 Aliases CVE-2023-54408GHSA-j2cw-j8pf-626h

HTML injection in Frappe allows cross-site scripting

Priority LOW 29CWE-79Published · Updated

Key facts

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

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

Summary

Frappe before 13.52.0 and 14.x before 14.31.0 contains an HTML injection flaw caused by weak escaping of user-supplied content rendered in pages. An unauthenticated remote attacker can submit crafted HTML that bypasses the escaping, and it is rendered in the browsers of users who view the content, enabling cross-site scripting (CWE-79). User interaction is required.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

Frappe before 13.52.0 and 14.x before 14.31.0 contains an HTML injection vulnerability caused by weak escaping of user-supplied content rendered in pages. Attackers can submit crafted HTML that bypasses the insufficient escaping and is rendered in the browsers of users who view it, enabling cross-site scripting.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00204 10th percentileScored 2026-11-07
Fix Fixed frappe (frappe): 13.52.0, 14.31.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
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
frappefrappebefore 13.52.0; 14.0.0-beta.1 to before 14.31.013.52.0, 14.31.0Patch availableCNA
  • frappe Vendorfrappe Affected before 13.52.0; 14.0.0-beta.1 to before 14.31.0 Fixed in 13.52.0, 14.31.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:frappe:*:*:*:*:*:*:*:*——frappe
  • cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:* Versions — — ·frappe

Remediation

Upgrade Frappe to version 13.52.0 or 14.31.0.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA frappe (frappe) Fixed in 13.52.0, 14.31.0

Timeline

  1. 2026-10-12 Threatist record created from CVE-2023-54408
  2. 2026-10-13 Alias added: GHSA-j2cw-j8pf-626h
  3. 2026-10-13 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 317 →

Sources