CVE-2025-12652

Ungapped Widgets <= 1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Published Nov 11, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Ungapped Widgets plugin for WordPress can store arbitrary JavaScript when an authenticated user with contributor or higher privileges supplies a malicious value in the prefillvalues attribute of the ungapped‑form shortcode. Because the input is neither sanitized nor escaped, the injected script is persisted in the database and executed in the browsers of anyone who views a page containing the shortcode. The flaw is a classic client‑side code injection, classified as CWE‑79.

Affected Systems

Any WordPress site that has the Ungapped Widgets plugin version 1 or earlier is vulnerable. An attacker must be logged in as a contributor or higher to insert a malicious shortcode; normal site visitors are not required to be authenticated. The risk is limited to pages that render the ungapped‑form shortcode; the core WordPress installation itself is not affected.

Risk and Exploitability

The CVSS score of 6.4 categorizes the vulnerability as medium severity. The EPSS score of less than 1% indicates a low probability of widespread exploitation at present, and the issue is not listed in the CISA KEV catalog. Successful exploitation requires the attacker to have editing rights and to supply the malicious shortcode. Once a victim views the affected page, the script runs under their browser context. Based on the description, it is inferred that the attacker could potentially steal credentials, deface content, or carry out additional malicious actions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Ungapped Widgets plugin to the latest release that resolves the stored XSS issue.
  • If no updated version is available, permanently uninstall the plugin to eliminate the vulnerability.
  • If the plugin must remain for operational reasons, restrict contributor accounts from creating or editing shortcodes that include the prefillvalues attribute—apply role‑based restrictions or use a content moderation workflow to block such edits.

Generated by OpenCVE AI on April 28, 2026 at 10:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Ungapped Widgets <= 1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:42 PM
Reserved
Nov 3, 2025, 8:22 PM
Status
Deferred
Published
Nov 11, 2025, 4:15 AM
Modified
Oct 18, 2026, 9:10 PM