Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-4014: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hcaptcha hCaptcha for WP

0
Medium
VulnerabilityCVE-2024-4014cvecve-2024-4014cwe-79
Published: Sat Apr 20 2024 (04/20/2024, 09:38:16 UTC)
Source: CVE Database V5
Vendor/Project: hcaptcha
Product: hCaptcha for WP

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 14:26:36 UTC

Technical Analysis

CVE-2024-4014 is a stored cross-site scripting vulnerability in the hCaptcha for WordPress plugin, affecting all versions up to and including 4.0.0. The issue is due to improper neutralization of input during web page generation, specifically insufficient sanitization and output escaping of user-supplied attributes in the plugin's cf7-hcaptcha shortcode. Authenticated attackers with contributor-level privileges or higher can exploit this to inject arbitrary web scripts that execute when the injected page is accessed.

Potential Impact

An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to the execution of arbitrary scripts in the context of users viewing those pages, potentially resulting in data theft, session hijacking, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the cf7-hcaptcha shortcode functionality if feasible to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-04-19T20:04:16.850Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b80b7ef31ef0b555fce

Added to database: 2/25/2026, 9:37:04 PM

Last enriched: 4/9/2026, 2:26:36 PM

Last updated: 4/12/2026, 2:02:33 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses