{"id":"CVE-2025-1219","state":"PUBLISHED","title":"libxml streams use wrong content-type header when requesting a redirected resource","description":"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.","publishedAt":"2025-03-30T05:33:13.801Z","updatedAt":"2025-11-03T20:57:06.601Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.32","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.28","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.19","versionType":"semver"},{"version":"8.4.*","status":"affected","lessThan":"8.4.5","versionType":"semver"}]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc","https://security.netapp.com/advisory/ntap-20250523-0007/","https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html"],"weaknesses":["CWE-1116"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1219.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-1219","state":"PUBLISHED","datePublished":"2025-03-30T05:33:13.801Z","dateUpdated":"2025-11-03T20:57:06.601Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2025-02-11T04:52:06.072Z"},"containers":{"cna":{"title":"libxml streams use wrong content-type header when requesting a redirected resource","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.32","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.28","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.19","versionType":"semver"},{"version":"8.4.*","status":"affected","lessThan":"8.4.5","versionType":"semver"}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc"}],"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":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2025-03-30T05:33:13.801Z"},"credits":[{"lang":"en","type":"reporter","value":"Tim Düsterhus"}],"datePublic":"2025-03-13T17:44:00.000Z","impacts":[{"capecId":"CAPEC-220","descriptions":[{"lang":"en","value":"CAPEC-220 Client-Server Protocol Manipulation"}]}],"source":{"advisory":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7","discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1116","type":"CWE","lang":"en","description":"CWE-1116 Inaccurate Comments"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","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":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:57:06.601Z"}}]}}}