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.
Published: 2025-11-11
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Update
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 12 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 12 Nov 2025 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Tue, 11 Nov 2025 03:45:00 +0000

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'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:42:29.678Z

Reserved: 2025-11-03T20:22:22.038Z

Link: CVE-2025-12652

cve-icon Vulnrichment

Updated: 2025-11-12T17:12:45.375Z

cve-icon NVD

Status : Deferred

Published: 2025-11-11T04:15:48.380

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-12652

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T10:30:29Z

Weaknesses