CVE-2024-2430
WordPress vulnerability analysis and mitigation

Overview

The Website Content in Page or Post WordPress plugin before version 2024.04.09 contains a stored Cross-Site Scripting (XSS) vulnerability. The plugin fails to properly validate and escape certain shortcode attributes before outputting them back in pages or posts where the shortcode is embedded. This vulnerability affects users with contributor role and above, allowing them to perform stored XSS attacks (WPScan, NVD).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and has received a CVSS v3.1 base score of 5.4 (Medium) from NIST and 6.5 (Medium) from CISA-ADP. The vulnerability specifically involves the shortcode functionality where the plugin fails to properly sanitize the [horshipsrectors_get_html_curl URL] shortcode attribute (WPScan, NVD).

Impact

When exploited, this vulnerability allows attackers with contributor-level access or higher to inject malicious JavaScript code that executes when other users view the affected page or post. This can lead to various attacks including cookie theft, session hijacking, or other malicious client-side actions (WPScan).

Exploitability

A proof of concept exists demonstrating the vulnerability exploitation. An attacker can create or edit a post and add a malicious shortcode containing a URL to a hosted HTML file with arbitrary JavaScript code. The XSS payload will be triggered whenever any user visits the compromised page (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 2024.04.09 of the Website Content in Page or Post WordPress plugin. Users are advised to update to this version or later to mitigate the security 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-15239NONEN/A
  • simple-cloudflare-turnstile
NoYesAug 07, 2026
CVE-2026-15211NONEN/A
  • subscriptions-for-woocommerce
NoYesAug 07, 2026
CVE-2026-15148NONEN/A
  • wp-events-manager
NoYesAug 07, 2026
CVE-2026-16265NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 2026
CVE-2026-16263NONEN/A
  • wp-google-map-plugin
NoYesAug 07, 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