LORIS has potential cross-site scripting in survey_accounts module
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-35403
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 04:03 UTC · Revision 1
Source evidence
LORIS has potential cross-site scripting in survey_accounts module
core-osv · Original sourcePublished 8 Apr 2026, 18:27 UTC
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.
osv:CVE-2026-35403
Complete source record
{
"id": "0af72dfd6fcb6ad2d8a816c4ab50344ef4720f6d82bb6ca23255f0605e4eac03",
"url": "https://osv.dev/vulnerability/CVE-2026-35403",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LORIS has potential cross-site scripting in survey_accounts module",
"summary": "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.",
"evidence": "osv:CVE-2026-35403",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-35403",
"aliases": [
"CVE-2026-35403",
"GHSA-776p-5pwh-vc8p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/aces/loris",
"type": "GIT",
"events": [
{
"introduced": "fe3bac7e47d39521fed3d5044ff0e890ffa63fdb"
},
{
"fixed": "f57f54b42a076bf53ba86e20d4dbf37f63538f58"
},
{
"introduced": "83141ca814d2b8bda0e483589b726ea27f6ed4f7"
},
{
"fixed": "c9bb7c87b405b4e0892cda25ab5fc791bcd562f4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "15.10"
},
{
"fixed": "27.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "28.0.0"
},
{
"fixed": "28.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"28.0.0",
"v28.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35403.json"
}
}
],
"modified": "2026-10-28T02:30:42.293223240Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35403.json",
"https://github.com/aces/Loris/security/advisories/GHSA-776p-5pwh-vc8p",
"https://nvd.nist.gov/vuln/detail/CVE-2026-35403"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35403.json"
}
},
"related_cves": [
{
"value": "CVE-2026-35403",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509964,
"published_at": "2026-04-08T18:27:17.221+00:00"
}