CVE-2025-12711

Share to Google Classroom <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via share_to_google Shortcode

Published Nov 11, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Share to Google Classroom plugin is vulnerable to a stored Cross‑Site Scripting flaw because user supplied attributes in the share_to_google shortcode are not properly sanitized or escaped before being rendered. An attacker who has Contributor or higher access can embed arbitrary scripts that will run whenever another user views a page containing the injected shortcode. The impact is the execution of attacker‑supplied code in the victim’s browser, potentially allowing defacement, session hijack or the theft of sensitive data from the user’s session.

Affected Systems

The flaw affects the WordPress plugin Share to Google Classroom (vendor pritenhshah) in all releases up to and including version 1.0. The vulnerability exists regardless of the WordPress core version, provided the plugin remains installed and the share_to_google shortcode is utilized.

Risk and Exploitability

The CVSS score of 6.4 classifies the issue as moderate severity. The EPSS score of less than 1% indicates a very low but non‑zero probability of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploits. Attackers must be authenticated with at least Contributor privileges and must insert the malicious payload via the shortcode, limiting the threat to trusted users or administrators. Once inserted, however, every site visitor who accesses the affected page will be affected, making the risk significant within the internal user community.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Share to Google Classroom plugin to the latest version released by the vendor
  • If an update is not available, disable the share_to_google shortcode or restrict its usage to administrator accounts only
  • Review or implement proper input validation and output escaping on shortcode attributes to prevent future XSS vulnerabilities

Generated by OpenCVE AI on April 21, 2026 at 18:28 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 Pritenhshah
Pritenhshah share To Google Classroom
Wordpress
Wordpress wordpress
Vendors & Products Pritenhshah
Pritenhshah share To Google Classroom
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Share to Google Classroom <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via share_to_google Shortcode
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:05 PM
Reserved
Nov 4, 2025, 7:40 PM
Status
Deferred
Published
Nov 11, 2025, 4:15 AM
Modified
Oct 7, 2026, 9:10 PM