{"id":"CVE-2026-35403","summary":"LORIS has potential cross-site scripting in survey_accounts module","details":"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.","aliases":["GHSA-776p-5pwh-vc8p"],"modified":"2026-07-27T03:56:27.736050558Z","published":"2026-04-08T18:27:17.221Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35403.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35403.json"},{"type":"ADVISORY","url":"https://github.com/aces/Loris/security/advisories/GHSA-776p-5pwh-vc8p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35403"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aces/loris","events":[{"introduced":"fe3bac7e47d39521fed3d5044ff0e890ffa63fdb"},{"fixed":"f57f54b42a076bf53ba86e20d4dbf37f63538f58"},{"introduced":"83141ca814d2b8bda0e483589b726ea27f6ed4f7"},{"fixed":"c9bb7c87b405b4e0892cda25ab5fc791bcd562f4"}],"database_specific":{"extracted_events":[{"introduced":"15.10"},{"fixed":"27.0.3"},{"introduced":"28.0.0"},{"fixed":"28.0.1"}],"source":"AFFECTED_FIELD"}}],"versions":["28.0.0","v28.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35403.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}