Description
The WP Review Slider Pro plugin for WordPress is vulnerable to SQL Injection via the 'notinstring' parameter of the wprp_load_more_revs AJAX action in versions up to, and including, 12.7.2. The parameter is read via $_POST['notinstring'] and passed through sanitize_text_field() — which strips HTML and whitespace but does not provide SQL safety. The value is then concatenated directly into a numeric/unquoted `AND id NOT IN (...)` clause and executed via $wpdb->get_results() without $wpdb->prepare() or intval() casting. Because the value sits in an unquoted numeric context, WordPress's wp_magic_quotes protection (which only escapes embedded quotes) is ineffective. The AJAX hook is registered via wp_ajax_nopriv_wprp_load_more_revs, and the required check_ajax_referer nonce is publicly available via wp_localize_script on any frontend page that renders the plugin shortcode, so an unauthenticated attacker who can reach a public page hosting the plugin can extract arbitrary data from the database via blind/time-based injection.
Published: 2026-07-02
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WP Review Slider Pro plugin for WordPress contains an unrecoverable SQL injection flaw in the wprp_load_more_revs AJAX action. The action reads a POST parameter named ‘notinstring’ via $_POST['notinstring'], sanitizes it only with sanitize_text_field() (which removes HTML but not SQL syntax) and concatenates the value directly into an unquoted numeric NOT IN clause. Because the value is not passed through $wpdb->prepare() or cast to an integer, and wp_magic_quotes cannot escape numeric contexts, an attacker can inject a classic instance of CWE‑89. An attacker who can reach any public page that renders the plugin short‑code can obtain the nonces exposed via wp_localize_script and send crafted requests to the AJAX endpoint, enabling a blind or time‑based extraction of database contents.

Affected Systems

All installations of WP Review Slider Pro up to and including version 12.7.2 that render the plugin short‑code on publicly accessible WordPress pages are affected. The vulnerability exists whenever the AJAX endpoint is reachable, which occurs if the plugin short‑code is present on any public page. The plugin is distributed by wpreviewslider.com.

Risk and Exploitability

The flaw has a CVSS base score of 7.5, indicating high severity. The EPSS score is below 1%, suggesting that exploitation has not been observed yet but remains possible. The issue is not listed in CISA’s KEV catalog. An unauthenticated attacker who can access a public page containing the plugin can, cause the application to execute a malicious SQL query, exposing database contents. The attack requires no prior authentication and can be performed entirely from the client side.

Generated by OpenCVE AI on July 21, 2026 at 12:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WP Review Slider Pro to the latest released version that path with hardened database access using $wpdb->prepare() or proper integer casting.
  • If upgrading is not immediately possible, temporarily remove the plugin short‑code or disable the wprp_load_more_revs AJAX endpoint on all public‑facing pages until an official patch can be applied.
  • application or firewall to block or log requests to the wprp that contain obvious SQL injection patterns, such as unescaped quotes, semicolons, or timing‑based delays.

Generated by OpenCVE AI on July 21, 2026 at 12:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
Description The WP Review Slider Pro plugin for WordPress is vulnerable to SQL Injection via the 'notinstring' parameter of the wprp_load_more_revs AJAX action in versions up to, and including, 12.7.2. The parameter is read via $_POST['notinstring'] and passed through sanitize_text_field() — which strips HTML and whitespace but does not provide SQL safety. The value is then concatenated directly into a numeric/unquoted `AND id NOT IN (...)` clause and executed via $wpdb->get_results() without $wpdb->prepare() or intval() casting. Because the value sits in an unquoted numeric context, WordPress's wp_magic_quotes protection (which only escapes embedded quotes) is ineffective. The AJAX hook is registered via wp_ajax_nopriv_wprp_load_more_revs, and the required check_ajax_referer nonce is publicly available via wp_localize_script on any frontend page that renders the plugin shortcode, so an unauthenticated attacker who can reach a public page hosting the plugin can extract arbitrary data from the database via blind/time-based injection.
Title WP Review Slider Pro <= 12.7.2 - Unauthenticated SQL Injection via 'notinstring' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-02T12:36:44.057Z

Reserved: 2026-05-12T19:15:15.187Z

Link: CVE-2026-8441

cve-icon Vulnrichment

Updated: 2026-07-02T12:36:41.438Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T12:15:02Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')