CVE-2025-12827

Top Friends <= 0.3 - Cross-Site Request Forgery to Settings Update

Published Nov 18, 2025 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
The Top Friends plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.3. This is due to missing nonce validation on the top_friends_options_subpanel() function. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Analysis

AI-generated

Technical impact

The Top Friends plugin for WordPress contains a Cross‑Site Request Forgery vulnerability in all releases up to and including version 0.3. The flaw stems from missing nonce validation in the top_friends_options_subpanel() function, which allows an unauthenticated attacker to send a forged request that will be accepted by the plugin. Because the affected function updates plugin options, a successful exploit can silently change configuration values that may alter site behavior, compromise user data, or enable other downstream attacks. The weakness is identified as CWE-352, a classic CSRF flaw.

Affected Systems

All WordPress sites that have the Top Friends plugin installed – specifically any version up to and including 0.3. The plugin is distributed by the author denishua and is included in the official WordPress plugin repository.

Risk and Exploitability

The CVSS score of 4.3 places this vulnerability in the moderate severity range. The EPSS score of less than 1% indicates that active exploitation is currently very unlikely. The vulnerability is not listed in the CISA KEV catalog, so no known exploits are publicly documented at this time. The likely attack vector is an unauthenticated attacker crafting a malicious link that an unsuspecting site administrator clicks, triggering the forged POST or GET request to the plugin's settings page. Because the request bypasses nonce checks, the settings can be altered without detection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Top Friends plugin to the latest available version that includes nonce validation and removes the CSRF vector.
  • If an update cannot be applied immediately, deactivate or delete the Top Friends plugin from the WordPress installation to eliminate the attack surface.
  • For environments where the plugin must remain active temporarily, implement temporary custom code or a security plugin that enforces nonce checks on the plugin's settings page, ensuring that only valid requests are processed.

Generated by OpenCVE AI on April 21, 2026 at 18:17 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 Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Top Friends plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.3. This is due to missing nonce validation on the top_friends_options_subpanel() function. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Title Top Friends <= 0.3 - Cross-Site Request Forgery to Settings Update
Weaknesses CWE-352
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:03 PM
Reserved
Nov 6, 2025, 7:15 PM
Status
Deferred
Published
Nov 18, 2025, 9:15 AM
Modified
Oct 18, 2026, 8:10 PM