Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pear/http_request2
  4. ›
  5. CVE-2025-43717

CVE-2025-43717: PEAR HTTP_Request2 vulnerable to Cross-site Scripting

April 17, 2025

In PEAR HTTP_Request2 before 2.7.0, multiple files in the tests directory, notably tests/_network/getparameters.php and tests/_network/postparameters.php, reflect any GET or POST parameters, leading to XSS.

References

  • github.com/advisories/GHSA-w7gh-f2fm-9q8r
  • github.com/pear/HTTP_Request2
  • github.com/pear/HTTP_Request2/blob/b1c61b71128045734d757c4d3d436457ace80ea7/package.xml
  • github.com/pear/HTTP_Request2/commit/07925aa77e441dba0ff0fa973a09802729cb838f
  • github.com/pear/HTTP_Request2/commit/265e05f9e08a28a38a57219516a8e4e2dfdbb147
  • github.com/pear/HTTP_Request2/compare/v2.6.0...v2.7.0
  • nvd.nist.gov/vuln/detail/CVE-2025-43717

Code Behaviors & Features

Detect and mitigate CVE-2025-43717 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.7.0

Fixed versions

  • 2.7.0

Solution

Upgrade to version 2.7.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-531: Inclusion of Sensitive Information in Test Code
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/pear/http_request2/CVE-2025-43717.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.