{"id":"CVE-2023-27586","state":"PUBLISHED","title":"CairoSVG improperly processes SVG files loaded from external resources","description":"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.","publishedAt":"2023-03-20T15:23:31.106Z","updatedAt":"2025-02-25T14:52:14.700Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["Kozea CairoSVG"],"affected":[{"vendor":"Kozea","product":"CairoSVG","versions":[{"version":"< 2.7.0","status":"affected"}]}],"references":["https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","https://github.com/Kozea/CairoSVG/releases/tag/2.7.0"],"weaknesses":["CWE-20","CWE-918"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/27xxx/CVE-2023-27586.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-27586","state":"PUBLISHED","datePublished":"2023-03-20T15:23:31.106Z","dateUpdated":"2025-02-25T14:52:14.700Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-03-04T01:03:53.634Z"},"containers":{"cna":{"title":"CairoSVG improperly processes SVG files loaded from external resources","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Kozea","product":"CairoSVG","versions":[{"version":"< 2.7.0","status":"affected"}]}],"references":[{"url":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","name":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","name":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","tags":["x_refsource_MISC"]},{"url":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","name":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","tags":["x_refsource_MISC"]},{"url":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","name":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-20T15:23:31.106Z"},"source":{"advisory":"GHSA-rwmf-w63j-p7gv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","name":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","name":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","name":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","name":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T12:16:36.330Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:19.301622Z","id":"CVE-2023-27586","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T14:52:14.700Z"}}]}}}