Patchfirst
CVE-2021-30134 Public exploit Medium · 6.1 EPSS 1.3%

php-mod/curl (a wrapper of the PHP cURL extension) before 2.3.2 allows XSS via the post_file_path_upload.php key parameter and the POST data to post_multidimensional.php.

Fix:upgrade curl to 2.3.2 or later Details ↓

Summary

The php-mod/curl library, a wrapper around the PHP cURL extension, contains a cross-site scripting flaw in versions before 2.3.2, affecting the key parameter of post_file_path_upload.php and the POST data handled by post_multidimensional.php. An unauthenticated remote attacker can exploit it over the network with low complexity, but only if a user interacts with a crafted page or request, and the injected script then runs in the victim's browser with limited confidentiality and integrity impact.

Heading is the official description · CVE.org
Breakdown
68.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 4 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+4 yrs

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: php-mod/curl.

Packagistphp-mod/curlGHSA-f8p3-q834-q9cj

Upgrade to 2.3.2 or later

Set the version to 2.3.2 or later in your composer.json.

The first fix for CVE-2021-30134. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 2.3.22.3.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close