Skip to content

CVE-2026-42857 Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization

MediumCVSS 5.4 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
openedx < 2026-04-24 2026-04-24 Fixed
openedx-platform = < cddc25cd791bb78f76833896e4778f668861df12; = >= sumac, < ulmo No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openedx-platform = < cddc25cd791bb78f76833896e4778f668861df12 No fix listed
openedx-platform = >= sumac, < ulmo No fix listed
openedx < 2026-04-24 2026-04-24

References