Improper Input Validation Affecting php package, versions [,8.1.32)[8.2.0,8.2.28)[8.3.0,8.3.19)[8.4.0,8.4.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-9801564
  • published23 Apr 2025
  • disclosed30 Mar 2025
  • creditUnknown

Introduced: 30 Mar 2025

CVE-2025-1219  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 8.1.32, 8.2.28, 8.3.19, 8.4.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to improper handling of content-type headers during HTTP redirects in the DOM and SimpleXML extensions. An attacker can cause the document to be parsed incorrectly or bypass validations by exploiting the incorrect content-type header used during a redirect.

CVSS Base Scores

version 4.0
version 3.1