CVE-2025-13856

Extra Post Images <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

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:21 PM
Reserved
Dec 1, 2025, 8:30 PM
Status
Deferred
Published
Dec 6, 2025, 6:15 AM
Modified
Oct 15, 2026, 8:10 PM