{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42857 exists.","fix":"No fix has been published for CVE-2026-42857 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42857 is a medium-severity cross-site scripting vulnerability in openedx-platform, published on 11 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42857 and fix it if it is affected.\n\nWhat it is: CVE-2026-42857 is a medium-severity cross-site scripting vulnerability in openedx-platform, published on 11 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42857 exists.\n\nAffected product: openedx-platform. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42857/ (Markdown: https://insights.sbomify.com/CVE-2026-42857/index.md)","id":"CVE-2026-42857","markdown":"https://insights.sbomify.com/CVE-2026-42857/index.md","name":"CVE-2026-42857","record":{"aliases":["GHSA-4xv3-5j4x-q8g4"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Open edX Platform","requires_auth":"low_privilege","summary":"Attackers can inject CSS into email notifications to track users and spoof content, requiring a patch to the HTML sanitizer.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openedx","vendor":"openedx"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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 \u003cstyle\u003e 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Open edX Platform: Stored CSS Injection in Email Notifications via Incomplete HTML Sanitization","id":"CVE-2026-42857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Open edX Platform: Server-Side Request Forgery (SSRF) in SAML Provider Data Sync Endpoint","id":"CVE-2026-42858"},"packages":[],"prev":{"headline":"Network-AI: Missing authentication on MCP HTTP endpoint allows unauthenticated privileged tool calls","id":"CVE-2026-42856"},"products":["openedx-platform"],"published":"2026-05-11","related":[{"cvss_score":8.5,"headline":"Open edX Platform: Server-Side Request Forgery (SSRF) in SAML Provider Data Sync Endpoint","id":"CVE-2026-42858","kev_date_added":null,"published":"2026-05-11"},{"cvss_score":7.7,"headline":"openedx-translations's Atlas translations for Open edX missing validation","id":"CVE-2024-43782","kev_date_added":null,"published":"2024-08-23"},{"cvss_score":4.7,"headline":"Open edX Platform has an Open Redirect in Survey Views via Unvalidated redirect_url Parameter","id":"CVE-2026-35404","kev_date_added":null,"published":"2026-04-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["openedx"]},"summary":"Attackers can inject CSS into email notifications to track users and spoof content, requiring a patch to the HTML sanitizer.","url":"https://insights.sbomify.com/CVE-2026-42857/"}