Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 89%

CVE-2026-42857: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in openedx openedx-platform

0
Medium
VulnerabilityCVE-2026-42857cvecve-2026-42857cwe-79
Published: 05/11/2026 (05/11/2026, 17:32:40 UTC)
Source: CVE Database V5
Vendor/Project: openedx
Product: openedx-platform

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.

CVSS v3.1

Score 4.6medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 09:37:15 UTC

Technical Analysis

The Open edX platform's discussion notification emails use the clean_thread_html_body() sanitizer to process user-generated discussion posts. However, this sanitizer does not remove <style> tags, and the content is rendered with Django's |safe filter in email templates. This improper neutralization of input (CWE-79) allows any enrolled student to inject arbitrary CSS into notification emails, which can be used for email tracking (disclosing recipient IP addresses), content spoofing, and phishing. The issue affects versions prior to commit cddc25cd791bb78f76833896e4778f668861df12 and has been fixed in that commit.

Potential Impact

The vulnerability allows attackers with enrolled student privileges to inject arbitrary CSS into email notifications sent to other users. This can lead to privacy breaches through email tracking (IP address disclosure), as well as enable content spoofing and phishing attacks via manipulated email content. There is no indication of direct code execution or system compromise. The CVSS 3.1 base score is 4.6, reflecting a medium severity impact with limited confidentiality and integrity impact and no availability impact.

Mitigation Recommendations

A fix for this vulnerability is available and has been implemented in commit cddc25cd791bb78f76833896e4778f668861df12. Users of the Open edX platform should update to this commit or a later version that includes the fix. There is no vendor advisory explicitly provided, but the commit reference confirms the availability of an official fix. No additional mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-30T16:44:48.379Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a021aa3cbff5d8610430389

Added to database: 05/11/2026, 18:06:27 UTC

Last enriched: 05/19/2026, 09:37:15 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 70

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses