CVE Explorer
CVE-2026-42197
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"relate","vendor":"inducer","versions":[{"status":"affected","version":"< 555f0efb1c5bd7531c07cd73724d7e566a81f620"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/inducer/relate/blob/550b8c54eb4d5f3e5f6698dcba361bf34d715599/course/admin.py#L347-L368","tags":["x_refsource_MISC"],"url":"https://github.com/inducer/relate/blob/550b8c54eb4d5f3e5f6698dcba361bf34d715599/course/admin.py#L347-L368"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/references/2
{"name":"https://github.com/inducer/relate/commit/555f0efb1c5bd7531c07cd73724d7e566a81f620","tags":["x_refsource_MISC"],"url":"https://github.com/inducer/relate/commit/555f0efb1c5bd7531c07cd73724d7e566a81f620"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/references/1
{"name":"https://github.com/inducer/relate/security/advisories/GHSA-37xm-vhx8-g6w3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/inducer/relate/security/advisories/GHSA-37xm-vhx8-g6w3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:79dd28173222e15f57d2213fdb57ccc9f427264830636b9b70b0beadeb5443bf · sha256:e21991a934b44ee2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.