Description
The Markdown Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'markdown' shortcode in all versions up to, and including, 0.2.1 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.
Published: 2025-09-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a stored XSS flaw that allows an attacker with contributor‑level access or higher to execute arbitrary web scripts on any page containing the Markdown Shortcode plugin. The injected scripts run in the browsers of all users who view the affected page, enabling phishing, credential theft, or session hijacking. This weakness maps to CWE‑79, underscoring deficiencies in input sanitization and output escaping.

Affected Systems

All WordPress sites that use the Markdown Shortcode plugin in a version up to and including 0.2.1 are affected. Versions 0.2.3 and newer contain the patch, so administrators should verify that such sites are running at least 0.2.3 or have removed the plugin.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS value of < 1% shows a low current exploitation probability; the vulnerability is not listed in the CISA KEV catalog. Attackers must first be authenticated with contributor or higher privileges to plant the malicious payload, so the risk is greatest in environments where such roles have access to edit content. Exploitation conditions are limited to the presence of the plugin and the injection of an attribute within a shortcode, after which the payload is rendered on page load for all visitors.

Generated by OpenCVE AI on April 22, 2026 at 13:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Markdown Shortcode plugin to version 0.2.3 or later
  • Verify that no malicious markdown content remains after the upgrade
  • Restrict contributor roles or remove content editing permissions from untrusted users

Generated by OpenCVE AI on April 22, 2026 at 13:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-31220 The Markdown Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'markdown' shortcode in all versions up to, and including, 0.2.1 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

Thu, 22 Jan 2026 23:00:00 +0000


Mon, 29 Sep 2025 09:45:00 +0000

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

Fri, 26 Sep 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 26 Sep 2025 06:45:00 +0000

Type Values Removed Values Added
Description The Markdown Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'markdown' shortcode in all versions up to, and including, 0.2.1 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 Markdown Shortcode <= 0.2.1 - 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'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:51:46.734Z

Reserved: 2025-09-09T14:29:09.325Z

Link: CVE-2025-10180

cve-icon Vulnrichment

Updated: 2026-01-22T18:11:25.433Z

cve-icon NVD

Status : Deferred

Published: 2025-09-26T07:15:40.627

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

Link: CVE-2025-10180

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T13:30:17Z

Weaknesses