---
id: CVE-2023-54408
title: >-
  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
summary: >-
  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 r…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T23:17:17.393'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-54408'
references:
  - url: 'https://github.com/frappe/frappe/security/advisories/GHSA-4jj9-5vgc-gc4j'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/frappe-before-14.31.0-html-injection-via-weak-escaping
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T00:09:02.606Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
