Advisory

PYSEC-2026-2137

Also known as: CVE-2026-30974, GHSA-m6hv-x64c-27mm

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2026-03-10 18:18 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

copyparty

PyPI · All systems

Affected

  • introduced 0, fixed 1.20.11 (ecosystem)

Fixed versions

1.20.11

Fix

  • Fixed version 1.20.11
    pip install --upgrade copyparty==1.20.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences