CVE-2025-1219

libxml streams use wrong content-type header when requesting a redirected resource

MEDIUM
5.3
CVSS Score
Published: March 30, 2025 at 05:33 AM UTC
Updated: June 17, 2026 at 08:38 AM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.7%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.1.* ≤ v < 8.1.328.1.0 ≤ v < 8.1.328.2.* ≤ v < 8.2.288.2.0 ≤ v < 8.2.288.3.* ≤ v < 8.3.198.3.0 ≤ v < 8.3.198.4.* ≤ v < 8.4.58.4.0 ≤ v < 8.4.58.1.*8.2.*8.3.*8.4.*
Affected range stops below 8.1.32, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.2.28, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card