Home / inducer / relate / CVE-2026-42197
CVE-2026-42197: is it exploited, and which versions of inducer relate are affected and fixed?
CVE-2026-42197 is a cross-site scripting (XSS) vulnerability in inducer relate. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: relate < 555f0efb1c5bd7531c07cd73724d7e566a81f620 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42197?
RELATE Vulnerable to Stored XSS via Unprivileged User Profile
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.
From the CVE record by GitHub_M, last updated May 28, 2026, 13:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| inducer | relate | < 555f0efb1c5bd7531c07cd73724d7e566a81f620 |
As the CVE record by GitHub_M states it, last updated May 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-42197?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42197 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 28, 2026)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 25.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/inducer/relate/security/advisories/GHSA-37xm-vhx8-g6w3 x_refsource_CONFIRM
- https://github.com/inducer/relate/commit/555f0efb1c5bd7531c07cd73724d7e566a81f620 x_refsource_MISC
- https://github.com/inducer/relate/blob/550b8c54eb4d5f3e5f6698dcba361bf34d715599/course/admin.py#L347-L368 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 25, 2026
- Published
- May 27, 2026, 18:30 UTC
- CVE record updated
- May 28, 2026, 13:24 UTC by GitHub_M
- NVD
- Deferred, last modified October 26, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect relate?
- May 27, 2026CVE-2026-47161 inducer relate: deserialization of untrusted data
- May 8, 2026CVE-2026-41588 inducer relate: timing side channel
- May 7, 2026CVE-2026-41505 inducer relate: weak random number generator
- Apr 26, 2024CVE-2024-32406 Inducer Relate: template injection
- Apr 26, 2024CVE-2024-32404 Inducer Relate: code injection (remote code execution)
- Apr 22, 2024CVE-2024-32407 Inducer Relate: server-side request forgery (SSRF)
- Apr 22, 2024CVE-2024-32405 Inducer Relate: cross-site scripting (XSS)
Questions about CVE-2026-42197
Is CVE-2026-42197 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of inducer relate are affected by CVE-2026-42197?
relate < 555f0efb1c5bd7531c07cd73724d7e566a81f620, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-42197?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-42197?
High (8.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42197?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.