{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-144591",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-12-04T00:31:34.567Z",
        "datePublished": "2026-12-04T01:08:49.868Z",
        "dateUpdated": "2026-12-04T01:08:49.868Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-12-04T01:08:49.868Z"
            },
            "title": "PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses because writers re-fetch external drawing URLs with file_get_contents() following redirects. Attackers can supply a spreadsheet whose image host serves a valid image to the reader and then redirects the writer's fetch to internal endpoints, leaking response data in generated xlsx, ods, xls or html files."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Server-Side Request Forgery (SSRF)",
                            "cweId": "CWE-918",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "PHPOffice",
                    "product": "PhpSpreadsheet",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "5.12.0",
                            "versionType": "semver",
                            "status": "affected"
                        }
                    ],
                    "packageURL": "pkg:composer/phpoffice/phpspreadsheet",
                    "repo": "https://github.com/PHPOffice/PhpSpreadsheet"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*",
                                    "versionEndIncluding": "5.12.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "HIGH",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.9,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Xlsx.php#L598-L622",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Ods/Drawing.php#L60-L66",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Worksheet/Drawing.php#L140-L180",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/phpspreadsheet-through-5.12.0-ssrf-via-redirect-in-writer-external-drawing-fetches",
                    "name": "VulnCheck Advisory: PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Zachariah Mithani (AploSec)",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}