


Perceptive Security
SOC/SIEM Consultancy

RELATE is a web-based courseware package. Versions prior to commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 have a stored cross-site scripting vulnerability tha…
Published:
26 May 2026 at 22:00:00
Alert date:
27 May 2026 at 21:06:41
Source:
nvd.nist.gov
Web Technologies
RELATE web-based courseware package contains a stored cross-site scripting vulnerability in versions prior to commit 555f0efb1c5bd7531c07cd73724d7e566a81f620. The vulnerability allows enrolled students to execute arbitrary JavaScript in administrator browser sessions, potentially leading to full admin account takeover. The issue stems from the get_user() method in ParticipationAdmin rendering user-controlled input using mark_safe combined with Python's % string formatting, which bypasses Django's automatic HTML escaping. User first_name and last_name fields are freely editable through the profile page with no sanitization applied. When admins view the Participation list in Django admin panel, unsanitized values are rendered directly into HTML response, executing injected scripts.
Technical details
Mitigation steps:
Affected products:
RELATE
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-42197
https://github.com/inducer/relate/blob/550b8c54eb4d5f3e5f6698dcba361bf34d715599/course/admin.py#L347-L368
https://github.com/inducer/relate/commit/555f0efb1c5bd7531c07cd73724d7e566a81f620
https://github.com/inducer/relate/security/advisories/GHSA-37xm-vhx8-g6w3
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
