Skip to main content
Vulnerability Database/CVE-2025-10310

CVE-2025-10310: Rich Snippet Site Report SQL Injection

CVE-2025-10310 is an SQL injection flaw in the Rich Snippet Site Report WordPress plugin that allows unauthenticated attackers to extract sensitive database information. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-10310 Overview

The Rich Snippet Site Report (EasySnippet) plugin for WordPress contains a SQL injection vulnerability in the last parameter. The flaw affects all versions up to and including 2.0.0105. The plugin fails to escape user-supplied input and does not use prepared statements on the affected query. Authenticated attackers with high privileges can append additional SQL statements to extract data from the WordPress database. The issue can also be triggered through Cross-Site Request Forgery (CSRF), broadening the exploitation surface to any administrator tricked into visiting a malicious page. The vulnerability is tracked under CWE-89.

Critical Impact

Successful exploitation allows extraction of sensitive database content, including user credentials, session tokens, and configuration secrets stored in the WordPress database.

Affected Products

  • Rich Snippet Site Report (EasySnippet) plugin for WordPress — all versions up to and including 2.0.0105
  • WordPress sites running the vulnerable plugin with administrator access exposed to CSRF
  • Any WordPress installation where the last parameter reaches the vulnerable query in lib/EasySnippet.php

Discovery Timeline

  • 2025-10-15 - CVE-2025-10310 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-10310

Vulnerability Analysis

The vulnerability is a classic SQL Injection flaw rooted in unsafe string concatenation. The plugin accepts the last HTTP parameter and places its value directly into an SQL statement without using $wpdb->prepare() or equivalent escaping routines. An attacker can terminate the original query and append arbitrary SQL to retrieve data from any table the WordPress database user can read. Because the flaw is also reachable via CSRF, an attacker does not need to authenticate directly. A malicious page can trigger the request from an already-authenticated administrator's browser. Attackers typically chain UNION-based or time-based blind payloads to exfiltrate hashed credentials, API keys, and user data.

Root Cause

The root cause is insufficient escaping of the last parameter combined with the absence of parameter binding in the SQL query located in lib/EasySnippet.php around line 100. User-controlled input is concatenated directly into the query string, violating WordPress secure coding guidelines that mandate the use of $wpdb->prepare() for any dynamic SQL.

Attack Vector

Exploitation occurs over the network against a vulnerable WordPress endpoint. The attack requires high privileges when invoked directly, but the CSRF path removes that barrier by abusing an administrator's active session. A crafted request containing a malicious last parameter value triggers the appended SQL to execute within the plugin's database context.

See the WordPress plugin source code and the Wordfence Vulnerability Report for technical details on the vulnerable code path.

Detection Methods for CVE-2025-10310

Indicators of Compromise

  • HTTP requests to WordPress endpoints containing SQL metacharacters such as UNION SELECT, SLEEP(, 0x hex literals, or comment sequences in the last parameter.
  • Unusual outbound queries to wp_users or wp_options originating from the plugin's PHP execution context.
  • Administrator sessions issuing plugin requests shortly after visiting external untrusted URLs, consistent with CSRF triggers.

Detection Strategies

  • Review web server access logs for the last parameter containing SQL keywords or encoded payloads.
  • Enable WordPress query logging or deploy a Web Application Firewall (WAF) rule to flag SQL injection patterns targeting EasySnippet endpoints.
  • Correlate database error log entries with plugin request timestamps to identify failed injection attempts.

Monitoring Recommendations

  • Monitor administrator account activity for anomalous page loads that precede plugin requests, indicating potential CSRF exploitation.
  • Alert on database queries returning large volumes of user or option table rows from plugin processes.
  • Track plugin version inventory across managed WordPress sites to identify unpatched installations of EasySnippet.

How to Mitigate CVE-2025-10310

Immediate Actions Required

  • Deactivate the Rich Snippet Site Report (EasySnippet) plugin until a patched version is confirmed installed.
  • Audit WordPress user accounts and rotate administrator passwords and application credentials that may have been exposed.
  • Deploy WAF rules to block SQL injection payloads targeting the last parameter on affected endpoints.

Patch Information

At the time of publication, all versions up to and including 2.0.0105 are vulnerable. Administrators should monitor the EasySnippet plugin page for a fixed release and apply updates immediately when available. Review the Wordfence Vulnerability Report for the latest remediation status.

Workarounds

  • Remove the plugin from production WordPress sites until a patched version is released.
  • Restrict administrator access using IP allowlists or multi-factor authentication to limit the CSRF exposure window.
  • Add server-side input validation at a reverse proxy to reject requests containing SQL metacharacters in the last parameter.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.