Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-5287

CVE-2025-5287: WordPress Likes Plugin SQLi Vulnerability

CVE-2025-5287 is a SQL injection flaw in the WordPress Likes and Dislikes Plugin that allows unauthenticated attackers to extract sensitive database information. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-5287 Overview

The Likes and Dislikes Plugin for WordPress contains a SQL Injection vulnerability in all versions up to and including 1.0.0. The vulnerability exists due to insufficient escaping of the user-supplied post parameter and a lack of proper preparation on the existing SQL query. This flaw enables unauthenticated attackers to append additional SQL queries to existing queries, potentially extracting sensitive information from the database.

Critical Impact

Unauthenticated attackers can exploit this SQL Injection vulnerability to extract sensitive data from the WordPress database, including user credentials, personal information, and other confidential content stored within the CMS.

Affected Products

  • Likes and Dislikes Plugin for WordPress versions up to and including 1.0.0
  • WordPress installations running the vulnerable inprosysmedia-likes-dislikes-post plugin
  • Any website using the affected plugin's post rating functionality

Discovery Timeline

  • 2025-05-28 - CVE-2025-5287 published to NVD
  • 2025-05-28 - Last updated in NVD database

Technical Details for CVE-2025-5287

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) affects the Likes and Dislikes Plugin for WordPress. The flaw resides in the plugin's handling of the post parameter, which is incorporated into database queries without adequate sanitization or parameterization. When a user interacts with the like/dislike functionality, the plugin processes the post identifier through a vulnerable code path that fails to properly escape special characters or use prepared statements.

The vulnerability is particularly concerning because it requires no authentication to exploit. Any visitor to a WordPress site running the vulnerable plugin can craft malicious requests to manipulate database queries. The attack is network-based with low complexity, meaning automated tools could be used to scan for and exploit this vulnerability at scale.

Root Cause

The root cause of this vulnerability is improper input validation and insufficient use of WordPress's built-in database abstraction layer for secure query preparation. The vulnerable code at line 76 of inprosysmedia-likes-dislikes-post.php directly incorporates user input into SQL queries without using $wpdb->prepare() or equivalent parameterized query methods. This pattern violates secure coding practices for database interactions and creates a classic SQL Injection attack surface.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests containing malicious SQL payloads in the post parameter. The injection point allows attackers to append additional SQL statements to existing queries, enabling techniques such as UNION-based injection to extract data from other database tables, including the wp_users table containing administrator credentials and email addresses.

The vulnerability can be exploited through typical SQL Injection payloads appended to the post parameter value. Attackers may use time-based blind injection techniques if direct data extraction is not immediately possible, or UNION-based injection to retrieve data from arbitrary database tables. For detailed technical analysis of the vulnerable code path, see the WordPress Plugin Code Review.

Detection Methods for CVE-2025-5287

Indicators of Compromise

  • HTTP requests to WordPress sites containing SQL injection payloads in the post parameter
  • Unusual database query patterns or errors in WordPress debug logs
  • Unexpected data exfiltration or database access patterns
  • Web application firewall logs showing SQL injection attempt blocks

Detection Strategies

  • Monitor web server access logs for requests containing SQL metacharacters (', ", ;, --, UNION, SELECT) in the post parameter
  • Deploy web application firewall rules specifically targeting SQL injection patterns
  • Enable WordPress database query logging to detect anomalous query structures
  • Implement intrusion detection signatures for known SQL injection attack patterns

Monitoring Recommendations

  • Configure real-time alerting for SQL injection patterns in web application firewall logs
  • Review WordPress database activity logs for unauthorized data access attempts
  • Monitor for unusual outbound traffic that may indicate data exfiltration
  • Establish baseline metrics for plugin-related database queries to detect anomalies

How to Mitigate CVE-2025-5287

Immediate Actions Required

  • Deactivate and remove the Likes and Dislikes Plugin (inprosysmedia-likes-dislikes-post) from all WordPress installations immediately
  • Audit database access logs for signs of prior exploitation
  • Consider rotating WordPress database credentials and admin passwords as a precaution
  • Deploy web application firewall rules to block SQL injection attempts

Patch Information

As of the last update, no patched version has been confirmed. Website administrators should monitor the Wordfence Vulnerability Report for updates on remediation status. Until a secure version is released, the plugin should be completely removed from production environments.

Workarounds

  • Remove the vulnerable plugin entirely from WordPress installations
  • Implement web application firewall rules to filter SQL injection payloads targeting the post parameter
  • Use a WordPress security plugin with virtual patching capabilities to block exploitation attempts
  • If the functionality is required, consider alternative plugins with better security practices
bash
# WordPress CLI command to deactivate the vulnerable plugin
wp plugin deactivate inprosysmedia-likes-dislikes-post --path=/var/www/html

# Remove the plugin entirely
wp plugin delete inprosysmedia-likes-dislikes-post --path=/var/www/html

# Check for other potentially vulnerable plugins
wp plugin list --status=active --path=/var/www/html

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability19.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • WordPress Plugin Code Review

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-3330: Form Maker by 10Web SQLi Vulnerability

  • CVE-2026-6674: WordPress CMS Plugin SQL Injection Flaw

  • CVE-2026-3489: DirectoryPress WordPress SQLi Vulnerability

  • CVE-2026-3773: WordPress Accessibility Suite SQL Injection
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English