Skip to main content

Categories Images EUVDEUVD-2026-23672

| CVE-2026-2505 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-18 Wordfence
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress Contributor+ account
  2. Delivery
    Create post with malicious z_taxonomy_image shortcode
  3. Exploit
    Inject XSS payload in 'class' attribute
  4. Execution
    Admin views/edits vulnerable post
  5. Persist
    Script executes in admin session
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Categories Images 0 ≤3.3.1

Affected Packages

euvd categories_images no fix

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

NVD PRIMARY 5.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 92% exploitable
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy