CVE-2021-30134
php-mod/curl allows Cross-site Scripting
Record summary
CVE-2021-30134 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Apr 14, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
php-mod/curlBrowse Packagist / php-mod/curl | GitHub Advisory | Before 2.3.2 · Fixed in 2.3.2 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMPhp-mod/curl Library <2.3.2 - Cross-Site ScriptingCVSS 6.1
Php-mod/curl library before 2.3.2 contains a cross-site scripting vulnerability via the post_file_path_upload.php key parameter and the POST data to post_multidimensional.php. An attacker can inject arbitrary script, which can allow theft of cookie-based authentication credentials and launch of other attacks.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
Remediation
Upgrade to Php-mod/curl Library version 2.3.2 or later to mitigate the vulnerability.
Source: ProjectDiscovery