Cross-Site Scripting (XSS) in RELATE (CVE-2026-42197)
Summary
Cross-site scripting in RELATE (CVE-2026-42197). Confidential information can be exposed externally. Exploitable via ParticipationAdmin.
Original description
The description as published by the source.
RELATE is a web-based courseware package. Versions prior to commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 have a stored cross-site scripting vulnerability that allows any enrolled student to execute arbitrary JavaScript in an administrator's browser session, potentially leading to full admin account takeover. The get_user() method in ParticipationAdmin renders user-controlled input using mark_safe combined with Python's % string formatting. This bypasses Django's automatic HTML escaping entirely. The value returned by get_full_name is derived directly from the first_name and last_name fields of the User model. These fields are freely editable by any authenticated user through the profile page (/profile/) with no sanitization applied. When an admin views the Participation list in the Django admin panel, the unsanitized value is rendered directly into the HTML response, causing the injected script to execute in the admin's browser. Commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 fixes the issue.
Source: NIST National Vulnerability Database NVD
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-42197 has been found in RELATE.
Attackers can target a specific entry point like ParticipationAdmin over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 8.7/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "RELATE CVE-2026-42197" on the vendor's site.
CVE-2026-42197 (RELATE) — CWE-79 / CVSS v3 8.7
Attack vector: remote (network-reachable)
Attack surface: ParticipationAdmin / mark_safe / get_full_name / first_name
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in RELATE. Attackers reach the vulnerable code path via ParticipationAdmin.
Check the vendor advisory for the affected versions of RELATE. Attack surface: ParticipationAdmin / mark_safe / get_full_name / first_name.
Severity: High (CVSS 8.7/10). Confidential information can be exposed externally.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'RELATE' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'RELATE' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
RELATEを grep し、稼働しているサービス・バージョンを把握する。 -
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。