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

0
Medium
VulnerabilityCVE-2025-5567cvecve-2025-5567cwe-79
Published: Fri Jul 04 2025 (07/04/2025, 02:22:33 UTC)
Source: CVE Database V5
Vendor/Project: gn_themes
Product: WP Shortcodes Plugin — Shortcodes Ultimate

Description

The WP Shortcodes Plugin — Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data-url' DOM element attribute in all versions up to, and including, 7.4.0 due to insufficient input sanitization and output escaping. 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: 02/27/2026, 15:25:56 UTC

Technical Analysis

CVE-2025-5567 is a stored cross-site scripting (XSS) vulnerability identified in the WP Shortcodes Plugin — Shortcodes Ultimate, a popular WordPress plugin developed by gn_themes. The vulnerability affects all versions up to and including 7.4.0 and is caused by improper neutralization of input during web page generation, specifically related to the 'data-url' attribute in the DOM. Authenticated users with Contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages via insufficient input sanitization and lack of proper output escaping. When other users access these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, defacement, or unauthorized actions within the context of the affected website. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and has a CVSS 3.1 base score of 6.4, reflecting a medium severity level. The attack vector is network-based with low attack complexity, requiring privileges (Contributor or above) but no user interaction for exploitation. The scope is changed because the vulnerability affects other users beyond the attacker. No public exploits have been reported yet, but the risk remains significant due to the widespread use of WordPress and this plugin. The lack of a patch at the time of reporting necessitates immediate mitigation steps to reduce exposure.

Potential Impact

The impact of CVE-2025-5567 on organizations worldwide can be substantial, especially for those relying on WordPress sites with the affected plugin installed. Successful exploitation allows authenticated contributors or higher to inject persistent malicious scripts, which execute in the browsers of any user visiting the compromised pages. This can lead to theft of session cookies, enabling attackers to impersonate users with potentially higher privileges, unauthorized content manipulation, defacement, or redirection to malicious sites. The compromise of user accounts or administrative sessions can further escalate to full site takeover, data breaches, or distribution of malware. Given WordPress's dominant market share in content management systems globally, and the popularity of the Shortcodes Ultimate plugin, a large number of websites are at risk. The medium CVSS score reflects that while exploitation requires some level of access, the consequences can affect confidentiality and integrity significantly, potentially damaging organizational reputation, causing financial loss, and impacting user trust.

Mitigation Recommendations

To mitigate CVE-2025-5567 effectively, organizations should take the following specific actions: 1) Immediately audit WordPress sites for the presence of the WP Shortcodes Plugin — Shortcodes Ultimate and identify versions up to 7.4.0. 2) Monitor vendor communications and apply official patches or updates as soon as they become available. 3) Until patches are released, restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious script injection. 4) Implement web application firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the 'data-url' attribute or shortcode inputs. 5) Conduct manual or automated code reviews and sanitize all user inputs related to shortcodes, especially those that influence DOM attributes. 6) Educate site administrators and content contributors about the risks of injecting untrusted content. 7) Enable Content Security Policy (CSP) headers to reduce the impact of potential XSS by restricting script execution sources. 8) Regularly back up website data and configurations to enable quick recovery in case of compromise. These targeted steps go beyond generic advice by focusing on access control, input validation, and layered defenses specific to this vulnerability.

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
2025-06-03T19:20:11.841Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68673b5e6f40f0eb729e5f8c

Added to database: 7/4/2025, 2:24:30 AM

Last enriched: 2/27/2026, 3:25:56 PM

Last updated: 3/26/2026, 11:14:14 AM

Views: 94

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