Description
Frappe before 13.46.1 and 14.x before 14.20.0 contains a cross-site scripting vulnerability because the html2text function weakly sanitizes user input. Authenticated attackers can supply crafted HTML that is insufficiently sanitized by html2text, executing scripts in the browsers of users who view the rendered content.
Published: 2026-10-12
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (XSS)
Action: Immediate Patch
AI Analysis

Impact

The flaw arises because the html2text helper under sanitizes user supplied HTML, allowing script tags to survive conversion. Authenticated attackers can inject crafted HTML that, when rendered in a victim’s browser, runs arbitrary JavaScript. This client‑side code execution enables defacement, session hijacking by stealing cookies, or arbitrary phishing content. The server itself is not compromised, but the vulnerability can be used to attack anyone who views the affected content.

Affected Systems

The vulnerability affects the Frappe framework. All releases prior to version 13.46.1 in the 13.x series, and all 14.x releases before 14.20.0, are impacted. Deployments of these releases that allow arbitrary HTML to be processed by html2text are at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates medium severity, focused on client‑side impact. EPSS is not available and the issue is not listed in CISA KEV, suggesting no known large‑scale exploitation. An attacker must first be authenticated to supply malicious HTML, and the malicious script only runs when an end‑user views the rendered content. This reduces the likelihood of exploitation but still presents a moderate risk if many users can view compromised content.

Generated by OpenCVE AI on October 13, 2026 at 00:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Frappe framework to version 13.46.1 or later, or to 14.20.0 or later for 14.x releases.
  • If an immediate upgrade is not possible, disable the html2text helper or restrict its usage so that only trusted sources can supply HTML and sanitize all user‑submitted content before conversion.
  • Enforce a strict Content‑Security‑Policy header that disallows inline scripting to inhibit any residual XSS payloads.

Generated by OpenCVE AI on October 13, 2026 at 00:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Description Frappe before 13.46.1 and 14.x before 14.20.0 contains a cross-site scripting vulnerability because the html2text function weakly sanitizes user input. Authenticated attackers can supply crafted HTML that is insufficiently sanitized by html2text, executing scripts in the browsers of users who view the rendered content.
Title Frappe before 13.46.1 XSS via html2text Weak Sanitization
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-80
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T13:33:19.267Z

Reserved: 2026-10-12T21:03:26.874Z

Link: CVE-2023-54409

cve-icon Vulnrichment

Updated: 2026-10-13T13:33:12.095Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T23:17:17.440

Modified: 2026-10-13T14:17:16.847

Link: CVE-2023-54409

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T01:00:15Z

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)