CVE-2021-24996
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24996 affects the IDPay for Contact Form 7 WordPress plugin versions through 2.1.2. The vulnerability was discovered by Jeremie Amsellem and was publicly disclosed on November 23, 2021. It is classified as a Reflected Cross-Site Scripting (XSS) vulnerability (WPScan Details).

Technical details

The vulnerability stems from improper input validation where the plugin fails to sanitize and escape the 'idpay_error' parameter before outputting it back in the page. The vulnerability has been assigned a CVSS score of 6.1 (medium severity) and is classified under CWE-79. It falls under the OWASP Top 10 category A7: Cross-Site Scripting (XSS) (WPScan Details).

Impact

When exploited, this vulnerability allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to the execution of arbitrary JavaScript code in the context of the victim's browser session (WPScan Details).

Exploitability

The vulnerability can be exploited by appending malicious payload to a page where a form with an idPay payment interface is embedded. A proof of concept demonstrates that attackers can use payloads such as '&idpay_error=alert(/XSS/)' or inject script tags through the URL parameter (WPScan Details).

Mitigation and workarounds

As of the last update, there is no known fix available for this vulnerability. Users of the IDPay for Contact Form 7 plugin should consider implementing additional security measures or consulting with security professionals for custom mitigation strategies (WPScan Details).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18044NONEN/A
  • estatik
NoYesAug 12, 2026
CVE-2026-17008NONEN/A
  • quick-paypal-payments
NoNoAug 12, 2026
CVE-2026-16990NONEN/A
  • wp-paypal
NoNoAug 12, 2026
CVE-2026-16747NONEN/A
  • kirki
NoYesAug 12, 2026
CVE-2026-16621NONEN/A
  • woo-paypal-gateway
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management