CVE-2021-24134
WordPress vulnerability analysis and mitigation

Overview

Multiple stored cross-site scripting (XSS) vulnerabilities were discovered in Constant Contact Forms for WordPress versions 1.8.7 and lower. The vulnerability, tracked as CVE-2021-24134, affects high-privileged users (Editor+) who can inject arbitrary Javascript code or HTML in posts where the malicious form is embedded (WPScan).

Technical details

The vulnerability exists in the Add New Form's form parameters, specifically in the 'Button text' and 'Field Description' fields. When an attacker with Editor or higher privileges inputs malicious XSS vectors into these fields, the stored script is executed for all users visiting the website where the form is embedded via shortcodes (e.g., [ctct form="XXX"]). The vulnerability has been assigned a CVSS score of 4.8 (medium) and is classified under CWE-79 (WPScan).

Impact

When successfully exploited, the vulnerability allows attackers to execute arbitrary JavaScript code in the context of other users' browsers who visit pages containing the compromised form. This could potentially lead to session hijacking, defacement, or theft of sensitive browser data from users viewing the affected pages (WPScan).

Exploitability

The vulnerability requires an authenticated user with Editor or higher privileges to exploit. The attacker needs to create or edit a form and inject malicious JavaScript code into either the Button text or Field Description fields. The exploit is then triggered when any user visits a page where the compromised form is embedded (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.8.8 of the Constant Contact Forms plugin. Users are advised to update to this version or later to mitigate the risk (WPScan).

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-16974MEDIUM6.4
  • kirki
NoYesAug 11, 2026
CVE-2026-14549NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-14548NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-19089NONEN/A
  • product-input-fields-for-woocommerce
NoYesAug 10, 2026
CVE-2026-19077NONEN/A
  • copy-delete-posts
NoYesAug 10, 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