Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Contributor+ account
-
DeliveryCreate post with malicious z_taxonomy_image shortcode
-
ExploitInject XSS payload in 'class' attribute
-
ExecutionAdmin views/edits vulnerable post
-
PersistScript executes in admin session
-
ImpactAttacker steals session/credentials or performs admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) The Categories Images plugin version 3.3.1 or earlier must be installed and activated on the WordPress site. (2) The attacker must possess authenticated WordPress user account with Contributor role or above (Contributor, Author, Editor, or Administrator). (3) The attacker must have permission to create or edit posts/pages and insert shortcodes within them-standard for Contributor+ roles in default WordPress configurations. (4) The 'z_taxonomy_image' shortcode must be used within the post/page content. (5) Another user (typically with higher privilege, such as Administrator or Editor) must view or interact with the page containing the injected shortcode for the malicious script to execute. The attack is limited by WordPress permission boundaries: unauthenticated visitors cannot inject shortcodes, and users without post-editing capability cannot craft the initial payload. The vulnerability does not permit horizontal privilege escalation; a Contributor cannot directly execute code as an Administrator, but can inject code that an Administrator will execute in their own session. |
| Impact | The CVSS 5.4 score (AV:N/AC:L/PR:L/UI:R/S:C) reflects a moderate-severity vulnerability with several mitigating factors. Network accessibility and low attack complexity indicate straightforward delivery, but the PR:L requirement limits the attacker pool to authenticated WordPress users with Contributor role or higher-a significant gating factor in multi-user WordPress environments. The UI:R (requires user interaction) component means the malicious script executes only when another user views the page containing the injected shortcode, reducing automatic impact. Scope:Changed indicates the vulnerability can affect users beyond the attacker's WordPress session. The EPSS score and active exploitation status (KEV) are not provided in the intelligence data, so real-world prevalence remains unconfirmed. However, the combination of requiring authentication, user interaction, and operation within a plugin ecosystem (where sites must have this specific plugin installed and active) suggests this is a legitimate but not critical-priority vulnerability for most WordPress operators. Sites with strict contributor permission models and regular administrator review of content are less exposed. The vulnerability is realistically exploitable only in WordPress instances where the Categories Images plugin is installed, active, and accessible to users with Contributor+ roles. |
| Exploit ScenarioDerived | A WordPress site with the Categories Images plugin uses a multi-author blog where contributors can publish articles. An attacker with a Contributor account creates a draft post containing the shortcode [z_taxonomy_image class='" onload="alert(document.cookie)"'] to inject a stored XSS payload via the class attribute. When an Administrator or Editor reviews or previews the post, the injected script executes in their browser session, potentially stealing session cookies or admin credentials. The attacker can then escalate privileges or perform administrative actions on behalf of the victim. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 18, 2026
Stored Cross-Site Scripting in Categories Images WordPress plugin versions up to 3.3.1 allows authenticated contributors and above to inject malicious scripts via the 'class' attribute of the 'z_taxonomy_image' shortcode, which executes in the context of other users viewing the affected page. The vulnerability stems from insufficient HTML escaping in the shortcode's fallback image builder. No public exploit code or active exploitation has been identified, but the attack requires only authenticated contributor-level access and user interaction with the injected content.
RemediationAI
Update the Categories Images plugin to version 3.3.2 or later, which addresses the HTML escaping vulnerability. Site administrators should navigate to Plugins → Installed Plugins in the WordPress dashboard, locate 'Categories Images', and click 'Update Now' to apply the patch. If immediate updating is not possible, a compensating control is to restrict the 'Contributor' role's ability to use custom shortcodes by implementing role-based capability restrictions via a security plugin (such as Members or Advanced Access Manager) or custom code that removes the shortcode usage capability from Contributor roles, limiting shortcode editing to Editors and Administrators only. This control trades plugin functionality for reduced attack surface in multi-user environments. Alternatively, temporarily deactivate the Categories Images plugin until the patch is applied. For sites unable to update, regularly audit published content for suspicious shortcode attributes and monitor user activity logs for contributor-level account abuse.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Categories Images plugin for WordPress provides a shortcode-based mechanism to display taxonomy-associated images on the frontend. The 'z_taxonomy_image' shortcode accepts a 'class' parameter that is passed directly into HTML attribute concatenation within a fallback image builder without proper sanitization or escaping. This is a classic stored XSS vector in WordPress plugin development, where user-supplied shortcode attributes flow into the DOM without filtering. The CWE-79 classification (Improper Neutralization of Input During Web Page Generation) confirms that the root cause is failure to escape output when rendering untrusted input as HTML attributes. The affected product is identified by CPE cpe:2.3:a:elzahlan:categories_images:*:*:*:*:*:*:*:*, indicating all versions of the plugin from vendor 'elzahlan' up to and including 3.3.1.
Know when Categories Images gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Categories Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.3.1, via the 'z_taxonomy_image' shortcode. This is due to the shortcode rendering path passing attacker-controlled class input into a fallback image builder that concatenates HTML attributes without proper escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that execute when users interact with the injected frontend page via the 'class' shortcode attribute.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-23672
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB