Live threats

All CVEs / Courtbouillon

CVE-2023-27586Courtbouillon Cairosvg

High 7.1

Priority
43
CVSS 3.1
7.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Mar 20, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

What happens

CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to version 2.7.0, Cairo can send requests to external hosts when processing SVG files. A malicious actor could send a specially crafted SVG file that allows them to perform a server-side request forgery or denial of service. Version 2.7.0 disables CairoSVG's ability to access other files online by default.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cairosvg.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cairosvg < 2.7.0 2.7.0 pip install "cairosvg>=2.7.0"
PyPI cairosvg < 2.7.0 2.7.0 pip install "cairosvg>=2.7.0"

Per OSV / GitHub Advisories (GHSA-rwmf-w63j-p7gv, PYSEC-2023-9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
courtbouilloncairosvg< 2.7.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.