CVE-2026-42857

MEDIUM CVSS 3.1: 5.4 EPSS 0.18%
Updated Oct 26, 2026
Openedx
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 2026-04-24
Fixed In 2026-04-24
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Openedx
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Openedx Openedx
cpe:2.3:a:openedx:openedx:*:*:*:*:*:*:*:*
— 2026-04-24