CVE-2026-42857
published medium CVSS 3.1 · 4.6Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openedx | — | openedx-platform< cddc25cd791bb78f76833896e4778f668861df12 · >= sumac, < ulmo | Affected | Not stated | GitHub_M |
Description
Open edX Platform enables the authoring and delivery of online learning at any scale. The HTML sanitizer clean_thread_html_body() used for discussion notification emails fails to remove <style> tags from user-generated discussion post content. This content is rendered with Django's |safe template filter in email notification templates, allowing any enrolled student to inject arbitrary CSS into email notifications sent to other users. This enables email tracking (IP address disclosure), content spoofing, and phishing attacks. This vulnerability is fixed with commit cddc25cd791bb78f76833896e4778f668861df12.
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
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openedx | openedx-platform | < cddc25cd791bb78f76833896e4778f668861df12 (affected)>= sumac, < ulmo (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9a331f870f7cd75bbe7e85ace9ef1c98bf7b6be29e8e3f25734c9e580487032
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record