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-1510: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gn_themes WP Shortcodes Plugin — Shortcodes Ultimate

0
Medium
VulnerabilityCVE-2024-1510cvecve-2024-1510cwe-79
Published: Tue Feb 20 2024 (02/20/2024, 02:34:18 UTC)
Source: CVE Database V5
Vendor/Project: gn_themes
Product: WP Shortcodes Plugin — Shortcodes Ultimate

Description

CVE-2024-1510 is a stored cross-site scripting (XSS) vulnerability in the WP Shortcodes Plugin — Shortcodes Ultimate for WordPress, affecting all versions up to 7. 0. 2. The flaw arises from improper input sanitization and output escaping in the su_tooltip shortcode, allowing authenticated users with contributor-level or higher permissions to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS 3. 1 score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple contributors.

AI-Powered Analysis

AILast updated: 02/26/2026, 09:39:07 UTC

Technical Analysis

CVE-2024-1510 is a stored cross-site scripting (XSS) vulnerability identified in the WP Shortcodes Plugin — Shortcodes Ultimate, a popular WordPress plugin developed by gn_themes. This vulnerability affects all versions up to and including 7.0.2. The root cause is insufficient sanitization and escaping of user-supplied input in the su_tooltip shortcode, which is used to add tooltip functionality to content. Authenticated users with contributor-level or higher permissions can exploit this flaw by injecting arbitrary JavaScript code into pages or posts via shortcode attributes or tags. Because the vulnerability is stored, the malicious script persists in the database and executes whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges (contributor or higher), no user interaction, and a scope change. Although no public exploits are known at this time, the vulnerability poses a significant risk in multi-user WordPress environments where contributors can add content. The flaw falls under CWE-79, indicating improper neutralization of input during web page generation. The vulnerability was published on February 20, 2024, and assigned by Wordfence. No official patches or updates are listed yet, so mitigation may require manual intervention or plugin updates once available.

Potential Impact

The impact of CVE-2024-1510 can be significant for organizations using the WP Shortcodes Plugin — Shortcodes Ultimate, especially those with multiple contributors or editors. Successful exploitation allows an attacker to inject persistent malicious scripts that execute in the browsers of any user viewing the compromised content. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed with victim user privileges, defacement of website content, or distribution of malware. Since the vulnerability requires contributor-level access, it primarily threatens organizations that allow external or less-trusted users to add or edit content. The scope change in the CVSS vector indicates that the vulnerability could affect resources beyond the initially compromised component, potentially impacting the entire WordPress site. Although no known exploits are currently reported, the medium severity score suggests that attackers could leverage this vulnerability to escalate privileges or move laterally within a compromised environment. The availability of the site is not directly impacted, but the integrity and confidentiality of user data and site content are at risk. Organizations relying on WordPress for publishing, e-commerce, or internal portals should consider this a moderate risk that warrants prompt attention.

Mitigation Recommendations

To mitigate CVE-2024-1510, organizations should first check for and apply any official updates or patches released by the plugin vendor gn_themes as soon as they become available. Until a patch is released, administrators should restrict contributor-level permissions to trusted users only and review existing user roles to minimize the risk of malicious content injection. Implementing a web application firewall (WAF) with rules to detect and block suspicious shortcode attributes or script injections can provide an additional layer of defense. Site administrators should audit existing content for suspicious or unauthorized shortcodes and remove or sanitize them. Employing security plugins that scan for XSS payloads and monitoring logs for unusual activity related to shortcode usage is recommended. Additionally, enforcing strict content security policies (CSP) can help mitigate the impact of injected scripts by restricting script execution sources. Educating content contributors about safe input practices and the risks of injecting untrusted code is also beneficial. Finally, regular backups and incident response plans should be in place to recover quickly if exploitation occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-02-14T20:42:57.665Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d33b7ef31ef0b56ee98

Added to database: 2/25/2026, 9:44:19 PM

Last enriched: 2/26/2026, 9:39:07 AM

Last updated: 2/26/2026, 11:20:10 AM

Views: 1

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats