---
id: CVE-2025-10166
title: >-
  The Social Media Shortcodes plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the plugin's 'twitter' shortcode in all versions up
  to, and including, 1.3.1 due to insufficient input sanitization and output
  escaping on …
summary: >-
  The Social Media Shortcodes plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the plugin's 'twitter' shortcode in all versions up
  to, and including, 1.3.1 due to insufficient input sanitization and output
  escaping on …
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-17'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10166'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/social-media-shortcodes/trunk/social_media_shortcode_plugin.php#L187
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3359485/'
    label: security@wordfence.com
  - url: 'https://wordpress.org/plugins/social-media-shortcodes'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/0d96465a-d1b6-4991-8e81-e80a0d15a902?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00239
epssPercentile: 0.13363
ingestedAt: '2026-09-26T00:22:39.920Z'
---

## Overview

The Social Media Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'twitter' shortcode in all versions up to, and including, 1.3.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.
