{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-42197 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-42197 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-42197 is a high-severity cross-site scripting vulnerability in inducer relate, published on 27 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42197 and fix it if it is affected.\n\nWhat it is: CVE-2026-42197 is a high-severity cross-site scripting vulnerability in inducer relate, published on 27 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-42197 in the wild and no public exploit code.\n\nAffected product: inducer relate. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42197/ (Markdown: https://insights.sbomify.com/CVE-2026-42197/index.md)","id":"CVE-2026-42197","markdown":"https://insights.sbomify.com/CVE-2026-42197/index.md","name":"CVE-2026-42197","record":{"aliases":["GHSA-37xm-vhx8-g6w3"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"RELATE courseware","requires_auth":"low_privilege","summary":"An attacker can inject malicious JavaScript into their profile, which executes in an administrator's browser, potentially leading to full admin account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"RELATE Vulnerable to Stored XSS via Unprivileged User Profile","id":"CVE-2026-42197","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS","id":"CVE-2026-42198"},"packages":[],"prev":{"headline":"django-s3file: Relative path traversal","id":"CVE-2026-42196"},"products":["relate"],"published":"2026-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["inducer"]},"summary":"An attacker can inject malicious JavaScript into their profile, which executes in an administrator's browser, potentially leading to full admin account takeover.","url":"https://insights.sbomify.com/CVE-2026-42197/"}