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.
History

Wed, 02 Apr 2025 02:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate


Mon, 31 Mar 2025 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1116
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 30 Mar 2025 05:45:00 +0000

Type Values Removed Values Added
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.
Title libxml streams use wrong content-type header when requesting a redirected resource
References
Metrics cvssV4_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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2025-03-31T13:10:25.062Z

Reserved: 2025-02-11T04:52:06.072Z

Link: CVE-2025-1219

cve-icon Vulnrichment

Updated: 2025-03-31T13:09:37.929Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-03-30T06:15:13.570

Modified: 2025-04-01T20:26:30.593

Link: CVE-2025-1219

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-30T05:33:13Z

Links: CVE-2025-1219 - Bugzilla