CVE-2023-54409
published medium CVSS 4.0 · 5.9Frappe before 13.46.1 XSS via html2text Weak Sanitization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| frappe | — | frappe0 to < 13.46.1 (affected · semver) · 14.0.0-beta.1 to < 14.20.0 (affected · semver) · 13.46.1 (unaffected · semver) · 14.20.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| frappe | frappe | 0 to < 13.46.1 (affected · semver)14.0.0-beta.1 to < 14.20.0 (affected · semver)13.46.1 (unaffected · semver)14.20.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
2- GitHub Security Advisory (GHSA-wp7j-3w22-93j6) https://github.com/frappe/frappe/security/advisories/GHSA-wp7j-3w22-93j6
- VulnCheck Advisory: Frappe before 13.46.1 XSS via html2text Weak Sanitization https://www.vulncheck.com/advisories/frappe-before-13.46.1-xss-via-html2text-weak-sanitization
Provider assertions
2VulnCheck · cna
Frappe before 13.46.1 XSS via html2text Weak Sanitization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f9b6079c172b9988d6046f87b46c1013e5730ca90504ac9e7a1fd666f5f077b4
- Ingested
- 13 Oct 2026, 15:34:53 UTC
- Source record
- Official CVE record