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

CVE-2026-30974 · Severity: low · CVSS 3.1 · Published 2026-03-10

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.

Technologies: copyparty (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-30974 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-30974 being exploited in the wild.
How severe is CVE-2026-30974?
Low severity, with a CVSS score of 3.1, published 10 March 2026.
Which products and versions are affected?
copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.20.11.
Is there a fix for CVE-2026-30974?
Yes. copyparty (PyPI): upgrade to 1.20.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-30974?
Check whether you run copyparty (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • copyparty (PyPI): upgrade to 1.20.11 or later
    pip install "copyparty>=1.20.11"

Affected products

  • copyparty (PyPI) ECOSYSTEM:introduced=0,fixed=1.20.11

Identifiers

  • CVE-2026-30974
  • GHSA-m6hv-x64c-27mm
  • PYSEC-2026-2137

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.