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-12652: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in oscaruribe Ungapped Widgets

0
Medium
VulnerabilityCVE-2025-12652cvecve-2025-12652cwe-79
Published: Tue Nov 11 2025 (11/11/2025, 03:30:34 UTC)
Source: CVE Database V5
Vendor/Project: oscaruribe
Product: Ungapped Widgets

Description

The Ungapped Widgets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'prefillvalues' parameter in the ungapped-form shortcode in all versions up to, and including, 1. This is 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 when a user accesses an injected page.

AI-Powered Analysis

AILast updated: 11/18/2025, 05:40:36 UTC

Technical Analysis

CVE-2025-12652 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Ungapped Widgets plugin for WordPress, specifically in the handling of the 'prefillvalues' parameter within the ungapped-form shortcode. The root cause is insufficient sanitization and output escaping of user-supplied input, allowing authenticated users with contributor-level privileges or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially compromising session tokens, user credentials, or enabling further attacks such as privilege escalation or data theft. The vulnerability affects all versions up to and including version 1 of the plugin. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No public exploits or patches are currently available, increasing the risk window. The vulnerability is particularly concerning for WordPress sites that allow contributor-level users to add or modify content using shortcodes, as it enables persistent script injection. Detection requires monitoring shortcode parameters for suspicious input, and mitigation currently relies on access control and manual input validation. This vulnerability exemplifies the risks of improper input neutralization (CWE-79) in web applications, especially in widely used CMS plugins.

Potential Impact

For European organizations, this vulnerability can lead to unauthorized disclosure of sensitive information, session hijacking, and potential privilege escalation within WordPress-managed websites. Organizations relying on the Ungapped Widgets plugin for customer-facing or internal portals risk reputational damage and data breaches if attackers exploit this flaw. Since the attack requires contributor-level access, insider threats or compromised contributor accounts pose a significant risk. The persistent nature of stored XSS means injected scripts remain active until removed, increasing exposure time. This can disrupt business operations, lead to regulatory non-compliance under GDPR due to data leakage, and facilitate further attacks such as phishing or malware distribution. The medium severity score indicates a moderate but tangible threat, especially for sectors with high web presence like e-commerce, media, and public services. The absence of patches and known exploits suggests a window of opportunity for attackers to develop exploits, emphasizing the need for proactive mitigation.

Mitigation Recommendations

1. Immediately restrict contributor-level access to trusted users only and review existing contributor accounts for suspicious activity. 2. Implement strict input validation and sanitization on the 'prefillvalues' parameter at the application or web server level using web application firewalls (WAFs) with custom rules to detect and block malicious scripts. 3. Monitor WordPress shortcode usage logs for anomalous or unexpected input patterns indicative of injection attempts. 4. Disable or remove the Ungapped Widgets plugin if it is not essential to reduce attack surface until a security patch is released. 5. Educate content contributors about the risks of injecting untrusted content and enforce secure content creation policies. 6. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected sites. 7. Regularly back up website data and maintain an incident response plan to quickly remediate any detected compromise. 8. Stay updated with vendor advisories and apply patches promptly once available.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-03T20:22:22.038Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6912b13314bc3e00ba783d9f

Added to database: 11/11/2025, 3:44:51 AM

Last enriched: 11/18/2025, 5:40:36 AM

Last updated: 11/22/2025, 3:17:46 PM

Views: 12

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats