CVE-2026-42197: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in inducer relate
RELATE, a web-based courseware package, has a stored cross-site scripting (XSS) vulnerability in versions prior to commit 555f0efb1c5bd7531c07cd73724d7e566a81f620. The vulnerability arises because user-controlled input from the first_name and last_name fields is rendered unsanitized in the Django admin panel, allowing enrolled students to inject arbitrary JavaScript that executes in an administrator's browser. This can lead to full admin account takeover. The issue is fixed in the specified commit.
AI Analysis
Technical Summary
The RELATE courseware package versions before commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 contain a stored XSS vulnerability (CWE-79). The vulnerability is due to the ParticipationAdmin's get_user() method rendering user input with mark_safe and Python string formatting, bypassing Django's automatic HTML escaping. Since first_name and last_name fields are editable by any authenticated user without sanitization, malicious scripts can be injected and executed when an admin views the Participation list in the Django admin interface. The commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 addresses this issue by properly sanitizing the input.
Potential Impact
An authenticated user (enrolled student) can inject arbitrary JavaScript into their profile fields, which executes in the browser of an administrator viewing the Participation list. This can lead to full administrative account takeover, compromising confidentiality and integrity of the system. The CVSS score is 8.7 (high severity) with network attack vector, low attack complexity, required privileges of an authenticated user, user interaction required, scope change, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available in commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 which properly sanitizes user input to prevent XSS. Users of RELATE should upgrade to this commit or a later version that includes this fix. No vendor advisory was provided, so patch status is based on the commit information. Until patched, restrict profile editing or admin access as a temporary measure.
CVE-2026-42197: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in inducer relate
Description
RELATE, a web-based courseware package, has a stored cross-site scripting (XSS) vulnerability in versions prior to commit 555f0efb1c5bd7531c07cd73724d7e566a81f620. The vulnerability arises because user-controlled input from the first_name and last_name fields is rendered unsanitized in the Django admin panel, allowing enrolled students to inject arbitrary JavaScript that executes in an administrator's browser. This can lead to full admin account takeover. The issue is fixed in the specified commit.
CVSS v3.1
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The RELATE courseware package versions before commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 contain a stored XSS vulnerability (CWE-79). The vulnerability is due to the ParticipationAdmin's get_user() method rendering user input with mark_safe and Python string formatting, bypassing Django's automatic HTML escaping. Since first_name and last_name fields are editable by any authenticated user without sanitization, malicious scripts can be injected and executed when an admin views the Participation list in the Django admin interface. The commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 addresses this issue by properly sanitizing the input.
Potential Impact
An authenticated user (enrolled student) can inject arbitrary JavaScript into their profile fields, which executes in the browser of an administrator viewing the Participation list. This can lead to full administrative account takeover, compromising confidentiality and integrity of the system. The CVSS score is 8.7 (high severity) with network attack vector, low attack complexity, required privileges of an authenticated user, user interaction required, scope change, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available in commit 555f0efb1c5bd7531c07cd73724d7e566a81f620 which properly sanitizes user input to prevent XSS. Users of RELATE should upgrade to this commit or a later version that includes this fix. No vendor advisory was provided, so patch status is based on the commit information. Until patched, restrict profile editing or admin access as a temporary measure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-25T05:04:37.026Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a17476ae29bf47b50e35416
Added to database: 05/27/2026, 19:35:06 UTC
Last enriched: 06/03/2026, 20:51:57 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 85
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.