Description
The Extra Post Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the extra-images shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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-12-06
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The Extra Post Images plugin for WordPress allows the ‘id’ attribute of its shortcode to be stored without proper sanitization or escaping, creating a stored cross‑site scripting vulnerability. This flaw is classified as CWE‑79 and permits an attacker who can authenticate as a Contributor or higher to inject arbitrary JavaScript into pages containing the shortcode. When an affected user views the page, the injected scripts execute in that user’s browser, potentially leading to defacement, session hijacking, or other client‑side attacks.

Affected Systems

Any WordPress site running the Extra Post Images plugin version 1.0 or earlier is potentially affected. The vulnerability affects the plugin code in the core shortcode handler and does not require any external services or plugins. All WordPress installations that have granted Contributor or higher roles the ability to add or edit posts with the plugin’s shortcode are within scope.

Risk and Exploitability

The CVSS base score of 6.4 indicates a moderate impact with authentication required, but the low EPSS score of < 1% suggests a small probability of exploitation at present. The vulnerability is not listed in CISA’s KEV catalog, meaning there is no known widespread exploitation. Attackers would need to log into the site with a Contributor‑level account, inject the malicious shortcut into a post, and rely on other site users to view the compromised page to trigger the script. The main risk is client‑side compromise, with no immediate server‑side backdoor creation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Extra Post Images plugin to the latest version (or any version beyond 1.0) to address the stored XSS flaw.
  • If an immediate update is not possible, remove or disable the shortcode’s ‘id’ attribute by editing the plugin code or using a content sanitization plugin that filters shortcode parameters.
  • As a temporary measure, restrict Contributor roles from editing posts containing the shortcode until a patch is applied or the shortcode is removed from those posts.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Dec 2025 10:15:00 +0000

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

Mon, 08 Dec 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 06 Dec 2025 06:00:00 +0000

Type Values Removed Values Added
Description The Extra Post Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the extra-images shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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 Extra Post Images <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
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:21:05.620Z

Reserved: 2025-12-01T20:30:56.208Z

Link: CVE-2025-13856

cve-icon Vulnrichment

Updated: 2025-12-08T21:30:46.520Z

cve-icon NVD

Status : Deferred

Published: 2025-12-06T06:15:52.453

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

Link: CVE-2025-13856

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T01:15:20Z

Weaknesses