---
id: CVE-2025-10180
title: >-
  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…
summary: >-
  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…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-09-26'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T20:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10180'
references:
  - url: 'https://github.com/JohannesHoppe/markdown-shortcode/releases/tag/v0.2.3'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/markdown-shortcode/trunk/markdown-shortcode.php#L40
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3365425%40markdown-shortcode&new=3365425%40markdown-shortcode&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/4e9563b8-7e1b-4e87-8b56-17b75adb66c3?source=cve
    label: security@wordfence.com
  - url: >-
      https://github.com/JohannesHoppe/markdown-shortcode/commit/2f02cd680eb60cc7d4a92cc64506095d304a95ff
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0031
epssPercentile: 0.22018
ingestedAt: '2026-10-12T14:50:34.004Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
