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

Published May 11, 2026
·
Updated

Open edX Platform enables the authoring and delivery of online learning at any scale. The HTML sanitizer cleanthreadhtmlbody() 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.

Affected Software

2 affected components
Open edX Open edX Platform
openedx openedx<2026-04-24

Event History

May 11, 2026
CVE Published
via MITRE·05:32 PM
Data Sourced
via MITRE·05:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42857?

CVE-2026-42857 is classified as a medium severity vulnerability due to the potential for stored CSS injection in email notifications.

2

How do I fix CVE-2026-42857?

To mitigate CVE-2026-42857, it is recommended to upgrade to the latest version of Open edX Platform where the vulnerability is patched.

3

What are the consequences of CVE-2026-42857?

If exploited, CVE-2026-42857 could allow attackers to inject malicious CSS into email notifications, potentially leading to phishing attacks.

4

Which versions of Open edX are affected by CVE-2026-42857?

Open edX Platform versions prior to April 24, 2026, are vulnerable to CVE-2026-42857.

5

How does CVE-2026-42857 affect email notifications?

CVE-2026-42857 allows for the inclusion of unfiltered <style> tags in email notifications, leading to potential CSS injection vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203