Description
LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. From 15.10 to before 27.0.3 and 28.0.1, there is a potential for a cross-site scripting attack in the survey_accounts module if a user provides an invalid visit label. While the data is properly JSON encoded, the Content-Type header is not set causing the web browser to interpret the payload as HTML, opening the possibility of a cross-site scripting if a user is tricked into following an invalid link. This vulnerability is fixed in 27.0.3 and 28.0.1.
Published: 2026-04-08
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote cross‑site scripting potential
Action: Patch ASAP
AI Analysis

Impact

The vulnerability is a potential cross‑site scripting flaw in the survey_accounts module. When a user supplies an invalid visit label, the response is properly JSON encoded but the Content‑Type header is omitted, causing browsers to treat the payload as HTML. If an attacker crafts a link that includes malicious JavaScript, a victim who clicks that link could have arbitrary code executed in their browser context.

Affected Systems

Systems running LORIS versions from 15.10 up to, but not including, 27.0.3 and 28.0.1 are affected. The issue is confined to the survey_accounts module and resolves once the application is upgraded to at least 27.0.3 or 28.0.1.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity risk. Exploitation requires a victim to follow a crafted link, so social engineering is needed. The EPSS score is unavailable, but the moderate CVSS suggests a non‑high likelihood of widespread exploitation. The flaw is not listed in the CISA KEV catalog, reducing the likelihood of public attacks yet the risk remains if a malicious actor targets a vulnerable deployment.

Generated by OpenCVE AI on April 8, 2026 at 20:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LORIS to version 27.0.3 or 28.0.1 or later.
  • If upgrade is not immediately possible, limit or block access to the survey_accounts module until the upgrade is performed.

Generated by OpenCVE AI on April 8, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Apr 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Mcgill
Mcgill loris
CPEs cpe:2.3:a:mcgill:loris:*:*:*:*:*:*:*:*
cpe:2.3:a:mcgill:loris:28.0.0:*:*:*:*:*:*:*
Vendors & Products Mcgill
Mcgill loris

Fri, 10 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Aces
Aces loris
Vendors & Products Aces
Aces loris

Wed, 08 Apr 2026 19:00:00 +0000

Type Values Removed Values Added
Description LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. From 15.10 to before 27.0.3 and 28.0.1, there is a potential for a cross-site scripting attack in the survey_accounts module if a user provides an invalid visit label. While the data is properly JSON encoded, the Content-Type header is not set causing the web browser to interpret the payload as HTML, opening the possibility of a cross-site scripting if a user is tricked into following an invalid link. This vulnerability is fixed in 27.0.3 and 28.0.1.
Title LORIS has potential cross-site scripting in survey_accounts module
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-10T20:42:38.101Z

Reserved: 2026-04-02T17:03:42.074Z

Link: CVE-2026-35403

cve-icon Vulnrichment

Updated: 2026-04-10T20:42:33.010Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-08T19:25:23.893

Modified: 2026-04-21T20:06:28.810

Link: CVE-2026-35403

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-09T08:27:47Z

Weaknesses