{"id":"BIT-php-min-2025-1219","summary":"libxml streams use wrong content-type header when requesting a redirected resource","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","CVE-2025-1219"],"modified":"2026-03-16T03:12:35.296835Z","published":"2025-04-14T11:39:39.948Z","database_specific":{"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1219"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250523-0007/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html"}],"affected":[{"package":{"name":"php-min","ecosystem":"Bitnami","purl":"pkg:bitnami/php-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"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://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2025-1219.json"},"severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.7.5"}