{"api_version":"1","generated_at":"2026-07-23T19:19:39+00:00","cve":"CVE-2023-27586","urls":{"html":"https://cve.report/CVE-2023-27586","api":"https://cve.report/api/cve/CVE-2023-27586.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27586","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27586"},"summary":{"title":"CVE-2023-27586","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-03-20 16:15:00","updated_at":"2023-03-23 18:23:00"},"problem_types":["CWE-918"],"metrics":[],"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","refsource":"MISC","tags":[],"title":"SSRF & DOS vulnerability · Advisory · Kozea/CairoSVG · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","name":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","refsource":"MISC","tags":[],"title":"Don’t allow fetching external files unless explicitly asked for · Kozea/CairoSVG@12d31c6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","name":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","refsource":"MISC","tags":[],"title":"Version 2.7.0 · Kozea/CairoSVG@33007d4 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","name":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","refsource":"MISC","tags":[],"title":"Release 2.7.0 · Kozea/CairoSVG · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27586","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27586","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"27586","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"courtbouillon","cpe5":"cairosvg","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-27586","qid":"181701","title":"Debian Security Update for cairosvg (DSA 5382-1)"},{"cve":"CVE-2023-27586","qid":"183240","title":"Debian Security Update for cairosvg (CVE-2023-27586)"},{"cve":"CVE-2023-27586","qid":"283811","title":"Fedora Security Update for python (FEDORA-2023-ab86bdbce6)"},{"cve":"CVE-2023-27586","qid":"283836","title":"Fedora Security Update for python (FEDORA-2023-064525b17b)"},{"cve":"CVE-2023-27586","qid":"284235","title":"Fedora Security Update for python (FEDORA-2023-e4a4ea43d8)"},{"cve":"CVE-2023-27586","qid":"503222","title":"Alpine Linux Security Update for py3-cairosvg"},{"cve":"CVE-2023-27586","qid":"506171","title":"Alpine Linux Security Update for py3-cairosvg"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-27586","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation","cweId":"CWE-20"}]},{"description":[{"lang":"eng","value":"CWE-918: Server-Side Request Forgery (SSRF)","cweId":"CWE-918"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Kozea","product":{"product_data":[{"product_name":"CairoSVG","version":{"version_data":[{"version_affected":"=","version_value":"< 2.7.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv","refsource":"MISC","name":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv"},{"url":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255","refsource":"MISC","name":"https://github.com/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255"},{"url":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53","refsource":"MISC","name":"https://github.com/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53"},{"url":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0","refsource":"MISC","name":"https://github.com/Kozea/CairoSVG/releases/tag/2.7.0"}]},"source":{"advisory":"GHSA-rwmf-w63j-p7gv","discovery":"UNKNOWN"},"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-03-20 16:15:00","lastModifiedDate":"2023-03-23 18:23:00","problem_types":["CWE-918"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:courtbouillon:cairosvg:*:*:*:*:*:*:*:*","versionEndExcluding":"2.7.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}