Skip to content
OpenAdvisories
Medium · 6.4 CVE-2024-4014 EUVD-2024-32580GHSA-9p92-qw4r-35fh

hCaptcha for WordPress <= 4.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via cf7-hcaptcha Shortcode

Published Apr 20, 2024 · Updated Apr 8, 2026 · Assigned by Wordfence

Description

The hCaptcha for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's cf7-hcaptcha shortcode in all versions up to, and including, 4.0.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affected products

VendorProductAffectedFixed
hcaptcha hCaptcha for WP ≤ 4.0.0 —

References