CVE-2025-7685
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-7685 is a Cross-Site Request Forgery (CSRF) vulnerability in the "Like & Share My Site" WordPress plugin, affecting all versions up to and including 0.2. Due to missing or incorrect nonce validation on the lsms_admin page, unauthenticated attackers can update plugin settings and inject malicious web scripts by tricking a site administrator into clicking a crafted link. The vulnerability was published on July 22, 2025, and carries a CVSS v3.1 base score of 6.1 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is improper CSRF protection (CWE-352) — the plugin's lsms_admin page fails to validate WordPress nonces before processing form submissions, allowing state-changing requests to be forged. An attacker crafts a malicious HTML page or link that, when visited by a logged-in administrator, silently submits a forged POST request to the plugin's admin endpoint. This can result in arbitrary settings changes and stored cross-site scripting (XSS) via injected web scripts. The vulnerable code is visible in the plugin's source at the WordPress plugin repository (Wordfence, Plugin Source).

Impact

Successful exploitation allows an attacker to modify plugin settings and inject persistent malicious scripts into the WordPress site, potentially affecting all site visitors through stored XSS. The CVSS scope is "Changed," indicating that the impact extends beyond the plugin itself to the broader WordPress environment and end users' browsers. Confidentiality and integrity are both rated Low, with no direct availability impact; however, injected scripts could be used for session hijacking, credential theft, or further site compromise (Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the "Like & Share My Site" plugin (version ≤ 0.2) via passive enumeration or by checking plugin directories.
  2. Craft forged request: Create a malicious HTML page containing a hidden form or auto-submitting JavaScript that targets the lsms_admin page endpoint with attacker-controlled settings values and an injected script payload.
  3. Social engineering: Deliver the malicious link or page to a site administrator via phishing email, comment, or other channel, inducing them to visit it while authenticated to their WordPress dashboard.
  4. CSRF execution: The administrator's browser automatically submits the forged request with their session credentials; the plugin processes it without nonce validation, updating settings and storing the malicious script.
  5. XSS trigger: The injected script executes in the browsers of subsequent visitors or administrators, enabling session hijacking, credential theft, or further malicious actions (Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing unexpected POST requests to the lsms_admin admin page from unusual referrers or external origins.
  • File System: Unexpected or modified plugin settings in the WordPress database (wp_options table) for the like-share-my-site plugin containing script tags or encoded payloads.
  • Network: Outbound connections from site visitors' browsers to unknown external domains following visits to pages where the plugin renders output.
  • Application: Presence of <script> tags or JavaScript event handlers in plugin-rendered output on the frontend that were not intentionally configured by the administrator.

Mitigation and workarounds

Site administrators should immediately deactivate and remove the "Like & Share My Site" plugin (versions ≤ 0.2) if no patched version is available from the plugin author. As a general WordPress hardening measure, ensure all plugins are kept up to date and consider using a Web Application Firewall (WAF) such as Wordfence to block CSRF-based attacks. Monitor the WordPress plugin repository for an updated release that implements proper nonce validation on the lsms_admin page (Wordfence).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for July 21–27, 2025, noting it in their threat intelligence database. No significant independent researcher commentary or broad media coverage has been identified beyond standard vulnerability aggregator listings (Wordfence Blog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13147CRITICAL9.1
  • kirki
NoYesJul 20, 2026
CVE-2026-9833HIGH7.1
  • tag-groups
NoYesJul 20, 2026
CVE-2026-13432MEDIUM5.4
  • image-sizes
NoYesJul 20, 2026
CVE-2026-13156MEDIUM5.4
  • mailersend-official-smtp-integration
NoYesJul 20, 2026
CVE-2026-8825MEDIUM4.9
  • elementor
NoYesJul 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management