CVE-2025-14147: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in corsonr Easy GitHub Gist Shortcodes
The Easy GitHub Gist Shortcodes 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, 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.
AI Analysis
Technical Summary
CVE-2025-14147 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Easy GitHub Gist Shortcodes plugin for WordPress, affecting all versions up to and including 1.0. 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. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages or posts by manipulating the shortcode's 'id' attribute. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or data theft. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based with low attack complexity, requiring privileges but no user interaction. The scope is changed as the vulnerability affects other users beyond the attacker. Currently, no public exploits or patches are available, increasing the urgency for mitigation. The plugin is widely used in WordPress environments where embedding GitHub Gists is desired, making the vulnerability relevant to many websites that rely on this plugin for content management.
Potential Impact
The primary impact of CVE-2025-14147 is on the confidentiality and integrity of affected WordPress sites. By exploiting this stored XSS vulnerability, attackers with contributor-level access can inject malicious scripts that execute in the context of other users, including administrators. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. Attackers may also manipulate site content or perform actions on behalf of other users, undermining data integrity. Although availability is not directly affected, successful exploitation can facilitate further attacks that degrade service or compromise site stability. Organizations running websites with this plugin are at risk of reputational damage, data breaches, and potential compliance violations if user data is exposed. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but the low complexity and lack of need for user interaction increase the risk within those constraints.
Mitigation Recommendations
1. Immediately restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious shortcode injection. 2. Implement manual input validation and output encoding for the 'id' parameter in the shortcode if possible, using WordPress security functions like esc_attr() or esc_html() to sanitize inputs and outputs. 3. Monitor site content and shortcode usage for suspicious or unexpected 'id' values that could indicate exploitation attempts. 4. Disable or remove the Easy GitHub Gist Shortcodes plugin temporarily if the risk is unacceptable and no patch is available. 5. Keep WordPress core and all plugins updated and subscribe to security advisories for prompt patch deployment once a fix is released. 6. Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious script injections targeting this vulnerability. 7. Educate site administrators and contributors about the risks of XSS and safe content management practices. 8. Review and harden user role permissions to enforce the principle of least privilege, reducing the attack surface.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-14147: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in corsonr Easy GitHub Gist Shortcodes
Description
The Easy GitHub Gist Shortcodes 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, 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-14147 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Easy GitHub Gist Shortcodes plugin for WordPress, affecting all versions up to and including 1.0. 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. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into pages or posts by manipulating the shortcode's 'id' attribute. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or data theft. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based with low attack complexity, requiring privileges but no user interaction. The scope is changed as the vulnerability affects other users beyond the attacker. Currently, no public exploits or patches are available, increasing the urgency for mitigation. The plugin is widely used in WordPress environments where embedding GitHub Gists is desired, making the vulnerability relevant to many websites that rely on this plugin for content management.
Potential Impact
The primary impact of CVE-2025-14147 is on the confidentiality and integrity of affected WordPress sites. By exploiting this stored XSS vulnerability, attackers with contributor-level access can inject malicious scripts that execute in the context of other users, including administrators. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. Attackers may also manipulate site content or perform actions on behalf of other users, undermining data integrity. Although availability is not directly affected, successful exploitation can facilitate further attacks that degrade service or compromise site stability. Organizations running websites with this plugin are at risk of reputational damage, data breaches, and potential compliance violations if user data is exposed. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but the low complexity and lack of need for user interaction increase the risk within those constraints.
Mitigation Recommendations
1. Immediately restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious shortcode injection. 2. Implement manual input validation and output encoding for the 'id' parameter in the shortcode if possible, using WordPress security functions like esc_attr() or esc_html() to sanitize inputs and outputs. 3. Monitor site content and shortcode usage for suspicious or unexpected 'id' values that could indicate exploitation attempts. 4. Disable or remove the Easy GitHub Gist Shortcodes plugin temporarily if the risk is unacceptable and no patch is available. 5. Keep WordPress core and all plugins updated and subscribe to security advisories for prompt patch deployment once a fix is released. 6. Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious script injections targeting this vulnerability. 7. Educate site administrators and contributors about the risks of XSS and safe content management practices. 8. Review and harden user role permissions to enforce the principle of least privilege, reducing the attack surface.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-05T18:52:55.262Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 695e4c147349d0379d7d57f2
Added to database: 1/7/2026, 12:05:40 PM
Last enriched: 2/27/2026, 10:56:22 AM
Last updated: 3/26/2026, 4:24:34 AM
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.