Description
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.
Published: 2025-09-17
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch immediately
AI Analysis

Impact

The Social Media Shortcodes plugin for WordPress is vulnerable to stored cross‑site scripting via the 'twitter' shortcode. The flaw stems from insufficient input sanitization and output escaping of user‑supplied attributes, allowing contributors and higher‑level users to inject arbitrary JavaScript into the plugin’s output. When an attacker embeds a malicious payload in a shortcode attribute, the script executes automatically for any visitor who loads the affected post, enabling defacement, credential theft, or other client‑side attacks. This weakness is identified as CWE‑79.

Affected Systems

The vulnerability affects the Social Media Shortcodes plugin (tw2113) for WordPress. All releases up to and including version 1.3.1 are impacted, while newer releases may contain a fix.

Risk and Exploitability

The CVSS score of 6.4 indicates medium severity, but the EPSS score of less than 1% and the requirement for authenticated contributor‑level access reduce the likelihood of exploitation in the wild. The plugin does not appear in the CISA KEV catalog, suggesting no known active exploitation. Attackers must first have valid contributor credentials to inject malicious payloads via the shortcode, after which the injected script runs in the context of every visitor’s browser.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Social Media Shortcodes plugin to the latest version that contains the XSS fix.
  • If an update is unavailable, remove or disable all content that uses the 'twitter' shortcode until a patch is applied.
  • Implement a strict Content Security Policy to block inline scripts and mitigate the impact of any remaining injections.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-29678 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.
History

Wed, 17 Sep 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 17 Sep 2025 11:00:00 +0000

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

Wed, 17 Sep 2025 02:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Social Media Shortcodes <= 1.3.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:35:17.162Z

Reserved: 2025-09-09T13:30:02.851Z

Link: CVE-2025-10166

cve-icon Vulnrichment

Updated: 2025-09-17T13:53:10.895Z

cve-icon NVD

Status : Deferred

Published: 2025-09-17T02:15:33.127

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

Link: CVE-2025-10166

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T22:15:26Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')