{"id":"CVE-2026-30974","published":"2026-03-10T17:37:26Z","modified":"2026-03-11T14:45:33Z","title":"Copyparty volflag `nohtml` did not block javascript in svg files","vendor":"9001","product":"copyparty","tier":"tail","description":{"text":"Copyparty is a portable file server. Prior to v1.20.11., the nohtml config option, intended to prevent execution of JavaScript in user-uploaded HTML files, did not apply to SVG images. A user with write-permission could upload an SVG containing embedded JavaScript, which would execute in the context of whichever user opens it. This has been fixed in v1.20.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.33407,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5","tags":["x_refsource_MISC"]},{"url":"https://github.com/9001/copyparty/releases/tag/v1.20.11","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"9001","affectedVersions":[{"vendor":"9001","product":"copyparty","versions":["< 1.20.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-11T14:45:22.362232Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"copyparty","vulnerableRanges":["<1.20.11"],"patched":["1.20.11"],"from":["GHSA-m6hv-x64c-27mm","PYSEC-2026-2137"],"provenance":"source"}],"summary":{"text":"The flaw in copyparty, a portable file server from 9001, is that the nohtml volflag, meant to stop JavaScript in user-uploaded HTML files, did not apply to SVG images, allowing cross-site scripting through uploaded SVGs. An attacker with write permission on the server can upload an SVG containing embedded JavaScript that runs in the context of any user who opens it, requiring that user to interact by viewing the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:49Z"},"euvd":{"id":"EUVD-2026-10711","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-9001-copyparty-cve-2023-37474","parents":[{"from":"CVE-2026-27948","to":"CVE-2026-30974","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.20.9","toFixed":"1.20.11","daysApart":12},{"kind":"same-code","provenance":"machine","files":["copyparty/util.py"],"commits":["https://github.com/9001/copyparty/commit/31b2801fd041f803f4a3d5c12c7d7cb5419048bc","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"],"basis":"shared function","functions":["run"]}]},{"from":"CVE-2023-37474","to":"CVE-2026-30974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/httpcli.py"],"commits":["https://github.com/9001/copyparty/commit/043e3c7dd683113e2b1c15cacb9c8e68f76513ff","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"],"basis":"shared function","functions":["handle_get"]}]},{"from":"CVE-2023-38501","to":"CVE-2026-30974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/util.py"],"commits":["https://github.com/9001/copyparty/commit/007d948cb982daa05bc6619cd20ee55b7e834c38","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"],"basis":"shared function","functions":["handle_get","run","send_headers"]}]},{"from":"CVE-2025-58753","to":"CVE-2026-30974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/authsrv.py"],"commits":["https://github.com/9001/copyparty/commit/e0a92ba72d46074209a9c304eb2a01ca0429e60c","https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"],"basis":"shared function","functions":["__init__","_reload"]}]}],"children":[{"from":"CVE-2026-30974","to":"CVE-2026-70657","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copyparty/httpcli.py"],"commits":["https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5","https://github.com/9001/copyparty/commit/e40755331ba9449993ff482456e6bdd2c6deb950"],"basis":"shared function","functions":["tx_browser"]}]}],"packageHistory":[{"cve":"CVE-2025-54796","published":"2025-08-01","fixed":"1.18.9","kev":false},{"cve":"CVE-2025-58753","published":"2025-09-09","fixed":"1.19.8","kev":false},{"cve":"CVE-2026-27948","published":"2026-02-26","fixed":"1.20.9","kev":false},{"cve":"CVE-2026-30974","published":"2026-03-10","fixed":"1.20.11","kev":false},{"cve":"CVE-2026-32108","published":"2026-03-11","fixed":"1.20.12","kev":false,"link":{"from":"CVE-2026-30974","to":"CVE-2026-32108","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.20.11","toFixed":"1.20.12","daysApart":1}]}},{"cve":"CVE-2026-32109","published":"2026-03-11","fixed":"1.20.12","kev":false,"link":{"from":"CVE-2026-30974","to":"CVE-2026-32109","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.20.11","toFixed":"1.20.12","daysApart":1}]}},{"cve":"CVE-2026-70657","published":"2026-08-18","fixed":"1.20.17","kev":false}],"package":"PyPI:copyparty"}}