CVE-2025-1219
Last modified
CVE-2025-1219 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.32 |
| Php | Php | >= 8.2.0, < 8.2.28 |
| Php | Php | >= 8.3.0, < 8.3.19 |
| Php | Php | >= 8.4.0, < 8.4.5 |
References
- https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfcExploit, Vendor Advisory
- https://github.com/php/php-src/security/advisories/GHSA-p3x9-6h7p-cgfcExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-1219?
How severe is CVE-2025-1219?
How do I fix CVE-2025-1219?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12184The MeetingList plugin for WordPress is vulnerable to Stored…4.4
- CVE-2025-12185The StaffList plugin for WordPress is vulnerable to Stored C…4.4
- CVE-2025-12186The Weekly Planner plugin for WordPress is vulnerable to Sto…4.4
- CVE-2025-12187Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-12188The Posts Navigation Links for Sections and Headings – Free …4.3
- CVE-2025-12189The Bread & Butter: Gate content + Capture leads + Collect f…8.8
- CVE-2025-12190The Image Optimizer by wps.sk plugin for WordPress is vulner…4.3
- CVE-2025-12191The PDF Catalog for WooCommerce plugin for WordPress is vuln…5.4
- CVE-2025-12192The Events Calendar plugin for WordPress is vulnerable to in…5.3
- CVE-2025-12193The Mang Board WP plugin for WordPress is vulnerable to Refl…6.1
- CVE-2025-12194Uncontrolled Resource Consumption vulnerability in Legion of…5.9
- CVE-2025-12195An Out-of-bounds Write vulnerability in WatchGuard Fireware …7.2
Are you affected by CVE-2025-1219?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
