CVE-2023-54408

Frappe before 14.31.0 HTML Injection via Weak Escaping

Published Oct 12, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A weakness in the escaping of user‑supplied content in Frappe allows crafted HTML to be rendered unfiltered in web browsers, giving attackers the ability to inject malicious scripts. The injected code can steal session data, deface the interface, or perform actions on behalf of the user, directly compromising confidentiality, integrity, and availability of the application for anyone who views the affected page.

Affected Systems

The flaw affects the Frappe platform before version 13.52.0 and all 14.x releases prior to 14.31.0. Any installation of these versions that renders user input without sufficient escaping is susceptible.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.1, indicating moderate severity, and has no available EPSS or KEV listing, implying it has not yet been widely exploited. Attackers can exploit it by submitting malicious HTML or script content that bypasses the platform’s output encoding, causing a browser to execute the payload for any user who accesses the rendered page. Successful exploitation leads to cross‑site scripting attacks that could compromise user credentials and data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Frappe 14.31.0 or later (or any patched release identified in the vendor advisory).
  • Apply the vendor‑provided patch or code fix referenced in the security advisory before upgrading.
  • Enforce strict content‑security policies and validate or sanitize all user‑supplied HTML input to mitigate future web injection vectors.

Generated by OpenCVE AI on October 12, 2026 at 23:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title Frappe before 14.31.0 HTML Injection via Weak Escaping
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 4:46 PM
Reserved
Oct 12, 2026, 9:03 PM
Status
Deferred
Published
Oct 12, 2026, 11:17 PM
Modified
Oct 13, 2026, 5:17 PM