{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-1219","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","state":"PUBLISHED","assignerShortName":"php","dateReserved":"2025-02-11T04:52:06.072Z","datePublished":"2025-03-30T05:33:13.801Z","dateUpdated":"2025-11-03T20:57:06.601Z"},"containers":{"cna":{"affected":[{"defaultStatus":"affected","product":"PHP","vendor":"PHP Group","versions":[{"lessThan":"8.1.32","status":"affected","version":"8.1.*","versionType":"semver"},{"lessThan":"8.2.28","status":"affected","version":"8.2.*","versionType":"semver"},{"lessThan":"8.3.19","status":"affected","version":"8.3.*","versionType":"semver"},{"lessThan":"8.4.5","status":"affected","version":"8.4.*","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Tim Düsterhus"}],"datePublic":"2025-03-13T17:44:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, w<span style=\"background-color: rgb(255, 255, 255);\">hen requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong </span><code>content-type</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations.&nbsp;</span></p>"}],"value":"In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. This may cause the resulting document to be parsed incorrectly or bypass validations."}],"impacts":[{"capecId":"CAPEC-220","descriptions":[{"lang":"en","value":"CAPEC-220 Client-Server Protocol Manipulation"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php","dateUpdated":"2025-03-30T05:33:13.801Z"},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc"}],"source":{"advisory":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7","discovery":"INTERNAL"},"title":"libxml streams use wrong content-type header when requesting a redirected resource","x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-1116","lang":"en","description":"CWE-1116 Inaccurate Comments"}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-31T13:10:21.300276Z","id":"CVE-2025-1219","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-31T13:10:25.062Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20250523-0007/"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T20:57:06.601Z"}}]}}