{"id":"CVE-2025-1219","details":"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.","aliases":["BIT-libphp-2025-1219","BIT-php-2025-1219","BIT-php-min-2025-1219"],"modified":"2026-04-16T04:35:20.791342294Z","published":"2025-03-30T06:15:13.570Z","related":["ALSA-2025:15687","ALSA-2025:4263","ALSA-2025:7418","ALSA-2025:7431","ALSA-2025:7432","ALSA-2025:7489","ALSA-2026:2470","GHSA-p3x9-6h7p-cgfc","SUSE-SU-2025:0994-1","SUSE-SU-2025:1012-1","SUSE-SU-2025:1025-1","SUSE-SU-2025:1026-1","openSUSE-SU-2025:14895-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250523-0007/"},{"type":"EVIDENCE","url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"aa4bed90d8927de8c2648ea5f3f4a32c56301b71"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"997ec633e4d024e50315e722c89733f77a2248f8"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"fdeadcd9ba0627cf1967220489ab6caa031e4034"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"23e05bdcf23319f4922513a91bb0d5e3925d5249"}],"database_specific":{"versions":[{"introduced":"8.1.0"},{"fixed":"8.1.32"},{"introduced":"8.2.0"},{"fixed":"8.2.28"},{"introduced":"8.3.0"},{"fixed":"8.3.19"},{"introduced":"8.4.0"},{"fixed":"8.4.5"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1219.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}