CVE-2026-35403

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:mcgill:loris:*:*:*:*:*:*:*:*
cpe:2.3:a:mcgill:loris:28.0.0:*:*:*:*:*:*:*

History

21 Apr 2026, 20:06

Type Values Removed Values Added
References () https://github.com/aces/Loris/security/advisories/GHSA-776p-5pwh-vc8p - () https://github.com/aces/Loris/security/advisories/GHSA-776p-5pwh-vc8p - Patch, Vendor Advisory
CPE cpe:2.3:a:mcgill:loris:*:*:*:*:*:*:*:*
cpe:2.3:a:mcgill:loris:28.0.0:*:*:*:*:*:*:*
First Time Mcgill
Mcgill loris

08 Apr 2026, 19:25

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 19:25

Updated : 2026-04-21 20:06


NVD link : CVE-2026-35403

Mitre link : CVE-2026-35403

CVE.ORG link : CVE-2026-35403


JSON object : View

Products Affected

mcgill

  • loris
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')