# CVE-2023-54409: Frappe before 13.46.1 XSS via html2text Weak Sanitization

- Severity: Medium 5.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-10-12T22:21:41.415Z
- Modified: 2026-10-13T14:17:16.847Z
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- frappe frappe: before 13.46.1; from 14.0.0-beta.1 before 14.20.0 (not affected: 13.46.1; 14.20.0)

## Every score

- VulnCheck: CVSS:4.0 5.9 Medium `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`
- VulnCheck: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/frappe/frappe/security/advisories/GHSA-wp7j-3w22-93j6> (vendor-advisory)
- <https://www.vulncheck.com/advisories/frappe-before-13.46.1-xss-via-html2text-weak-sanitization> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-54409](https://www.cve.org/CVERecord?id=CVE-2023-54409), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2023-54409](https://nvd.nist.gov/vuln/detail/CVE-2023-54409), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2023-54409 · Whole record: https://cve.day/CVE-2023-54409.json · Rebuilt by cve.day 2026-11-25T22:58:35.872Z
