Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12667: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in paul1999 GitHub Gist Shortcode Plugin

0
Medium
VulnerabilityCVE-2025-12667cvecve-2025-12667cwe-79
Published: Tue Nov 11 2025 (11/11/2025, 03:30:53 UTC)
Source: CVE Database V5
Vendor/Project: paul1999
Product: GitHub Gist Shortcode Plugin

Description

The GitHub Gist Shortcode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the 'gist' shortcode in all versions up to, and including, 0.2 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 20:56:55 UTC

Technical Analysis

CVE-2025-12667 is a stored cross-site scripting vulnerability identified in the paul1999 GitHub Gist Shortcode Plugin for WordPress, present in all versions up to and including 0.2. The vulnerability stems from improper neutralization of input during web page generation, specifically inadequate sanitization and escaping of the 'id' parameter within the 'gist' shortcode. Authenticated attackers with Contributor-level or higher privileges can exploit this flaw by injecting arbitrary JavaScript code into pages that utilize the shortcode. Because the malicious script is stored persistently, it executes in the context of any user who views the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of the victim. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting a medium severity level, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches or known exploits are currently reported, but the risk remains significant due to the widespread use of WordPress and the plugin's functionality. The vulnerability is classified under CWE-79, highlighting improper input validation leading to cross-site scripting. The flaw's exploitation could facilitate further attacks such as privilege escalation or phishing within the affected sites.

Potential Impact

The primary impact of CVE-2025-12667 is the compromise of confidentiality and integrity within WordPress sites using the vulnerable plugin. Attackers with Contributor-level access can inject malicious scripts that execute in the browsers of site visitors, potentially leading to session hijacking, credential theft, defacement, or distribution of malware. This can erode user trust, damage brand reputation, and lead to data breaches. Since the vulnerability requires authenticated access, insider threats or compromised contributor accounts pose a significant risk. The scope change in the CVSS vector indicates that the attack can affect resources beyond the initial vulnerable component, potentially impacting other parts of the website or connected systems. Organizations relying on this plugin for embedding GitHub Gists may face increased risk of targeted attacks, especially if they have a large user base or handle sensitive information. Although no known exploits are reported, the medium severity and ease of exploitation by authenticated users make timely remediation critical to prevent escalation or lateral movement within the site environment.

Mitigation Recommendations

To mitigate CVE-2025-12667, organizations should immediately assess their use of the paul1999 GitHub Gist Shortcode Plugin and upgrade to a patched version once available. In the absence of an official patch, administrators should implement strict input validation and output encoding on the 'id' parameter to neutralize malicious scripts. Restrict Contributor-level and higher privileges to trusted users only, and regularly audit user roles and permissions to minimize the risk of insider exploitation. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode inputs. Monitor website logs and user activity for unusual behavior indicative of XSS exploitation attempts. Educate content contributors about the risks of injecting untrusted content. Additionally, consider disabling or replacing the plugin with alternatives that follow secure coding practices. Regularly update WordPress core and all plugins to reduce exposure to known vulnerabilities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-03T21:30:51.091Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6912b13314bc3e00ba783db6

Added to database: 11/11/2025, 3:44:51 AM

Last enriched: 2/27/2026, 8:56:55 PM

Last updated: 3/25/2026, 9:04:45 AM

Views: 46

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses