# CVE-2026-30974: Copyparty volflag `nohtml` did not block javascript in svg files

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 27% of CVEs (2026-11-30)
- Published: 2026-03-10T01:20:19.000Z
- Modified: 2026-07-13T07:26:49.106Z
- Also known as: GHSA-m6hv-x64c-27mm, PYSEC-2026-2137
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- 9001 copyparty: < 1.20.11; before 1.20.11
- copyparty (PyPI): before 1.20.11

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm> (advisory, vendor-advisory, web)
- <https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5> (fix, patch, web)
- <https://github.com/9001/copyparty/releases/tag/v1.20.11> (advisory, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30974> (advisory)
- <https://github.com/9001/copyparty> (package)

## Sources

- CVE List: [CVE-2026-30974](https://www.cve.org/CVERecord?id=CVE-2026-30974), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-m6hv-x64c-27mm](https://github.com/advisories/GHSA-m6hv-x64c-27mm), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-30974](https://nvd.nist.gov/vuln/detail/CVE-2026-30974), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2137](https://osv.dev/vulnerability/PYSEC-2026-2137), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-30974 · Whole record: https://cve.day/CVE-2026-30974.json · Rebuilt by cve.day 2026-11-25T22:59:15.626Z
