Medium
Security advisory
A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file which acts as a stored XSS payload. If this stored XSS payload is triggered by an administrator it will trigger malicious OS commands on the server running the FileBrowser instance.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-37794
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:19 UTC · Revision 1
Source evidence
A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file which acts as a stored XSS payload. If this stored XSS payload is triggered by an administrator it will trigger malicious OS commands on the server running the FileBrowser instance.
osv:CVE-2021-37794
Complete source record
{
"id": "ecaa8d435637b86c7380d1833943a286f368455d417a06a823e95adcbc994d05",
"url": "https://osv.dev/vulnerability/CVE-2021-37794",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-37794",
"summary": "A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file which acts as a stored XSS payload. If this stored XSS payload is triggered by an administrator it will trigger malicious OS commands on the server running the FileBrowser instance.",
"evidence": "osv:CVE-2021-37794",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-37794",
"aliases": [
"CVE-2021-37794"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/filebrowser/filebrowser",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8ecc2da94765cefac4c4245c4fd7eb8c268c148f"
},
{
"fixed": "201329abce4e92ae9071b9ded81e267aae159fbd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:filebrowser_project:filebrowser:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.16.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "201329abce4e92ae9071b9ded81e267aae159fbd"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.15.0",
"v2.14.1",
"v2.14.0",
"v2.13.0",
"v2.12.1",
"v2.12.0",
"v2.11.0",
"v2.10.0",
"v2.9.0",
"v2.8.0",
"v2.7.0",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.16",
"v2.0.15",
"v2.0.14",
"v2.0.13",
"v2.0.12",
"v2.0.11",
"v2.0.10",
"v2.0.9",
"v2.0.8",
"v2.0.7",
"v2.0.6",
"v2.0.5",
"v2.0.4",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0-rc.2",
"v2.0.0-rc.1",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.0",
"v1.7.1",
"v1.7.0",
"v1.6.0",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.6",
"v1.4.5",
"v1.4.4",
"v1.4.3",
"v1.4.0",
"v1.3.12",
"v1.3.11",
"v1.3.10",
"v1.3.9",
"v1.3.8",
"v1.3.7",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.9",
"v1.2.8",
"v1.2.7",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.1",
"v1.1.0",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37794.json"
}
}
],
"modified": "2026-10-20T10:50:08.510140417Z",
"provider": "osv",
"references": [
"https://gist.github.com/omriinbar/1e28649f31d795b0e9b7698a9d255b5c",
"https://github.com/filebrowser/filebrowser/commit/201329abce4e92ae9071b9ded81e267aae159fbd",
"https://github.com/filebrowser/filebrowser"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-37794",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381334,
"published_at": "2021-08-31T18:15:08.317+00:00"
}