{"id":"CVE-2023-27586","published":"2023-03-20T15:23:31Z","modified":"2025-02-25T14:52:14Z","title":"CairoSVG improperly processes SVG files loaded from external resources","vendor":"Kozea","product":"CairoSVG","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00722,"percentile":0.54907,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","tags":["x_refsource_MISC"]},{"url":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","tags":["x_refsource_MISC"]},{"url":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":10.98},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"kozea","affectedVersions":[{"vendor":"Kozea","product":"CairoSVG","versions":["< 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-25T14:30:19.301622Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"CairoSVG","vulnerableRanges":["<2.7.0"],"patched":["2.7.0"],"from":["GHSA-rwmf-w63j-p7gv","PYSEC-2023-9"],"provenance":"source"}],"summary":{"text":"CairoSVG, an SVG-to-image converter built on the Cairo 2D graphics library, improperly processes SVG files that load external resources, causing it to send requests to external hosts before version 2.7.0. An attacker can exploit this over the network without authentication or user interaction by supplying a specially crafted SVG file, enabling server-side request forgery or denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:29Z"},"euvd":{"id":"EUVD-2023-0051","exploited":false,"provenance":"source"}}