Description
The Generic Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widget fields in version 1.2.8 and earlier. 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 whenever a user accesses an injected page.
Published: 2025-10-03
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via widget fields
Action: Patch
AI Analysis

Impact

The Generic Elements plugin for WordPress is vulnerable because widget fields in versions 1.2.8 and earlier do not properly sanitize and escape user input. This flaw allows an attacker to embed arbitrary JavaScript that is stored server‑side and rendered into the page when users view it. Attackers with contributor‑level access can inject scripts that execute in the browsers of visitors, potentially stealing session cookies, defacing content, or redirecting traffic, thereby compromising confidentiality and integrity of the site.

Affected Systems

All WordPress sites running the Generic Elements plugin, specifically versions 1.2.8 and earlier. Users of the plugin on any WordPress installation are at risk if they have allowed contributors to add or edit widgets. The vulnerability affects the plugin’s widget system and is tied to WordPress’ role‑based access control.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score of less than 1% suggests that, while exploitation is not yet common, the attack vector exists and could be leveraged by an authenticated contributor. The issue is not listed in the CISA KEV catalog. The likely attack path involves a contributor logging into the WordPress admin area, inserting malicious code into a widget field, and publishing the page. Any other user who visits that page will then run the injected script.

Generated by OpenCVE AI on April 21, 2026 at 02:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Generic Elements plugin to the latest major release that addresses the XSS flaw.
  • Review and cleanse all existing widget content on the site, removing any suspicious or custom script snippets that may have been added after the vulnerability was discovered.
  • Restrict contributor access to trusted users only, or promote the role to Editor or higher for users who need to manage widgets with complex content.

Generated by OpenCVE AI on April 21, 2026 at 02:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-32268 The Generic Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widget fields in version 1.2.4 and earlier. 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 whenever a user accesses an injected page.
History

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
Description The Generic Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widget fields in version 1.2.4 and earlier. 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 whenever a user accesses an injected page. The Generic Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widget fields in version 1.2.8 and earlier. 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 whenever a user accesses an injected page.
Title Generic Elements <= 1.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting Generic Elements <= 1.2.8 - Authenticated (Contributor+) Stored Cross-Site Scripting
References

Mon, 06 Oct 2025 14:45:00 +0000

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

Fri, 03 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Oct 2025 11:30:00 +0000

Type Values Removed Values Added
Description The Generic Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple widget fields in version 1.2.4 and earlier. 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 whenever a user accesses an injected page.
Title Generic Elements <= 1.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
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-08T17:02:18.437Z

Reserved: 2025-08-15T15:44:59.195Z

Link: CVE-2025-9080

cve-icon Vulnrichment

Updated: 2025-10-03T14:56:56.031Z

cve-icon NVD

Status : Deferred

Published: 2025-10-03T12:15:45.690

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

Link: CVE-2025-9080

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T02:45:25Z

Weaknesses