Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-42197: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in inducer relate

0
High
VulnerabilityCVE-2026-42197cvecve-2026-42197cwe-79
Published: 05/27/2026 (05/27/2026, 18:30:27 UTC)
Source: CVE Database V5
Vendor/Project: inducer
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
inducer/relate
pkg:github/inducer/relate

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 20:51:57 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses