CVE-2026-42857CWE-79

Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization

Medium · published May 11, 2026

CVSS v3.1
4.6
EPSS
0%
Percentile
17.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.6 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00264 · 17.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-05-11T17:32Z
EPSS history
Timeline
  • 11 MAY 17:32Z
    Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization
    cvelistv5