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-12711: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pritenhshah Share to Google Classroom

0
Medium
VulnerabilityCVE-2025-12711cvecve-2025-12711cwe-79
Published: Tue Nov 11 2025 (11/11/2025, 03:30:43 UTC)
Source: CVE Database V5
Vendor/Project: pritenhshah
Product: Share to Google Classroom

Description

The Share to Google Classroom plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the share_to_google shortcode in all versions up to, and including, 1.0 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.

AI-Powered Analysis

AILast updated: 11/18/2025, 04:23:53 UTC

Technical Analysis

CVE-2025-12711 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Share to Google Classroom plugin for WordPress, developed by pritenhshah. This vulnerability exists in all versions up to and including 1.0 due to improper neutralization of user-supplied input in the share_to_google shortcode. Specifically, the plugin fails to adequately sanitize and escape attributes provided by authenticated users with Contributor-level privileges or higher. As a result, these users can inject arbitrary JavaScript code that is persistently stored and executed in the context of any user who visits the affected page. The vulnerability leverages CWE-79, a common web application security weakness related to improper input validation during web page generation. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction. The scope is changed (S:C), indicating that exploitation can affect resources beyond the vulnerable component. The impact primarily affects confidentiality and integrity, as attackers can steal session tokens, perform actions on behalf of other users, or manipulate page content. Availability is not impacted. No patches or exploits are currently publicly available, but the vulnerability is published and should be addressed promptly. The vulnerability is particularly concerning in environments where multiple users have Contributor or higher roles, such as educational or collaborative websites using Google Classroom integration.

Potential Impact

For European organizations, especially educational institutions and businesses utilizing WordPress with the Share to Google Classroom plugin, this vulnerability poses a significant risk to data confidentiality and integrity. Attackers with relatively low privileges can inject malicious scripts that execute in the browsers of other users, potentially leading to session hijacking, unauthorized actions, defacement, or distribution of malware. This can result in data breaches, loss of user trust, and compliance violations under regulations like GDPR. Since the plugin integrates with Google Classroom, which is widely used in European education sectors, the impact could extend to sensitive student and staff information. The vulnerability does not directly affect availability but can disrupt normal operations through indirect means such as phishing or malware spread. The requirement for authenticated access limits exposure but does not eliminate risk, especially in environments with many contributors or weak access controls.

Mitigation Recommendations

1. Immediately audit user roles and permissions on WordPress sites using the Share to Google Classroom plugin, restricting Contributor-level access to trusted users only. 2. Monitor and review all content created using the share_to_google shortcode for suspicious or unexpected scripts. 3. Implement Web Application Firewall (WAF) rules to detect and block malicious script injections targeting the shortcode parameters. 4. Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Encourage plugin developers or maintainers to release a patch that properly sanitizes and escapes all user inputs in the shortcode attributes; deploy such patches promptly once available. 6. Educate site administrators and contributors about the risks of injecting untrusted content and enforce secure content creation policies. 7. Regularly update WordPress core and all plugins to minimize exposure to known vulnerabilities. 8. Consider disabling or replacing the vulnerable plugin if immediate patching is not feasible, especially in high-risk environments.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-04T19:40:13.947Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6912b13414bc3e00ba783dd4

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

Last enriched: 11/18/2025, 4:23:53 AM

Last updated: 12/24/2025, 4:17:55 PM

Views: 69

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats