CVE-2025-12670

wp-twitpic <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Nov 27, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The wp-twitpic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters of the 'twitpic' 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 wp‑twitpic plugin contains a stored cross‑site scripting vulnerability (CWE‑79) that allows an authenticated user with Contributor‑level or higher privileges to inject arbitrary scripts via multiple parameters of the ‘twitpic’ shortcode. When a user opens a page containing the maliciously crafted shortcode, the injected script executes in that user’s browser, potentially leading to session hijacking, defacement, or further attacks within the authenticated user’s session.

Affected Systems

This flaw affects the Realin wp‑twitpic WordPress plugin, all released versions up to and including 1.0, when installed on any WordPress site that assigns contributor or higher roles. Sites employing this plugin and running the vulnerable version are at risk.

Risk and Exploitability

With a CVSS score of 6.4, the vulnerability is of medium severity. The EPSS score of less than 1 % suggests low likelihood of exploitation, and the flaw is not currently listed in the CISA KEV catalog. However, exploitation requires only a legitimate contributor‑level account, so compromised credentials or social engineering can provide the necessary access. The attacker need only supply malicious shortcode parameters, so the attack vector is straightforward once authenticated, and the impact is confined to page rendering for any user who views the injected content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Uninstall or disable the wp‑twitpic plugin to eliminate the attack surface.
  • If the functionality is required, upgrade to a version that implements proper input sanitization and output escaping (currently none exist beyond 1.0, so consider replacing the plugin with a vetted alternative).
  • Restrict Contributor or higher roles so that only trusted administrators can edit content containing the twitpic shortcode, or remove the capability to edit content that uses the plugin.
  • As a temporary workaround, add a custom filter in your theme’s functions.php to escape or strip disallowed characters from the shortcode parameters before rendering.

Generated by OpenCVE AI on April 21, 2026 at 17:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The wp-twitpic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters of the 'twitpic' 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 wp-twitpic <= 1.0 - 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'}

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:18 PM
Reserved
Nov 3, 2025, 9:33 PM
Status
Deferred
Published
Nov 27, 2025, 3:15 AM
Modified
Oct 18, 2026, 8:10 PM