{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-1219","id":"CVE-2025-1219","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.","descriptionLong":"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.","published":"2025-03-30T05:33:13.801Z","updated":"2026-10-28T02:30:52.352223141Z","reserved":"2025-02-11T04:52:06.072Z","status":"Modified","rejected":false,"assigner":"php","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"php"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"php"},{"version":"4.0","score":6.3,"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/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","rating":"medium","source":"php.net"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["PHP Group PHP"],"affectedProducts":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-1116"],"aliases":["BIT-libphp-2025-1219","BIT-php-2025-1219","BIT-php-min-2025-1219","GHSA-p3x9-6h7p-cgfc"],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfc","tags":["exploit","Exploit","Vendor Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20250523-0007/","tags":["advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1219.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1219","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00749,"epssPercentile":0.55705,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1219","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1219","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-1219","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1219","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}