CVE-2021-30134: XSS in php-mod/curl pre-2.3.2
- Vendors
- Ht Slider Range For Amazon Affiliates ProjectPtwoopluginsPhp Curl Class ProjectShopello Api ProjectTeamleadeQiwi
php-mod/curl, a wrapper for the PHP cURL extension, prior to version 2.3.2 is vulnerable to cross-site scripting (XSS). The vulnerability exists in the handling of user-supplied input via the 'key' parameter in post_file_path_upload.php and POST data in post_multidimensional.php, which are not properly sanitized before being output, allowing for the injection of arbitrary JavaScript code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected web application, potentially leading to session hijacking, credential theft, or other attacks leveraging the victim's browser session.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, ensure all user-supplied input is properly sanitized and encoded before being output in the affected scripts. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS.
Remediation
Patch, then assume compromise.
Upgrade php-mod/curl to version 2.3.2 or later, where the input handling has been corrected to properly sanitize user-supplied data and prevent XSS.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-30134 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-30134?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-30134.
- Is there a patch for CVE-2021-30134?
- Upgrade php-mod/curl to version 2.3.2 or later, where the input handling has been corrected to properly sanitize user-supplied data and prevent XSS.
- What products are affected by CVE-2021-30134?
- Ht Slider Range For Amazon Affiliates Project Ht Slider Range For Amazon Affiliates, Ptwooplugins Invoicing With Invoicexpress For Woocommerce, Php Curl Class Project Php Curl Class, Shopello Api Project Shopello Api, Teamleader Crm Forms, and 1 more.
- How severe is CVE-2021-30134?
- CVE-2021-30134 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 1.3% (72nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.