CVE
CVE-2025-1219
CVE-2025-1219MED 6.3EPSS 56%
CNA 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.
Affected versions
- ≥ 8.4.0, < 8.4.5Fixed in 8.4.5
- ≥ 8.3.0, < 8.3.19Fixed in 8.3.19
- ≥ 8.2.0, < 8.2.28Fixed in 8.2.28
- ≥ 8.1.0, < 8.1.32Fixed in 8.1.32
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.