CVE-2025-9080

Generic Elements <= 1.2.8 - Authenticated (Contributor+) Stored Cross-Site Scripting

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
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
Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:02 PM
Reserved
Aug 15, 2025, 3:44 PM
Status
Deferred
Published
Oct 3, 2025, 12:15 PM
Modified
Oct 11, 2026, 8:10 PM