Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12827: CWE-352 Cross-Site Request Forgery (CSRF) in denishua Top Friends

0
Medium
VulnerabilityCVE-2025-12827cvecve-2025-12827cwe-352
Published: Tue Nov 18 2025 (11/18/2025, 08:27:33 UTC)
Source: CVE Database V5
Vendor/Project: denishua
Product: Top Friends

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 21:12:54 UTC

Technical Analysis

The Top Friends plugin for WordPress, developed by denishua, suffers from a Cross-Site Request Forgery (CSRF) vulnerability identified as CVE-2025-12827. This vulnerability exists in all versions up to 0.3 due to the absence of nonce validation in the top_friends_options_subpanel() function, which handles plugin settings. Nonce validation is a security mechanism used to ensure that requests to change settings originate from legitimate users and not from forged requests. Without this protection, an attacker can craft a malicious URL or form that, when visited or submitted by an authenticated site administrator, triggers unauthorized changes to the plugin's configuration. The attack does not require the attacker to be authenticated but does require the administrator to perform an action such as clicking a link. The vulnerability impacts the integrity of the plugin's settings but does not expose confidential information or disrupt service availability. The CVSS 3.1 base score is 4.3, indicating medium severity, with an attack vector of network (remote), low attack complexity, no privileges required, but requiring user interaction. No public exploits have been reported yet, and no patches are currently linked, indicating that users must monitor for updates or implement workarounds. The vulnerability is classified under CWE-352, a common web security issue related to CSRF attacks.

Potential Impact

This vulnerability primarily threatens the integrity of the affected WordPress sites by allowing unauthorized modification of the Top Friends plugin settings. If exploited, attackers could alter plugin behavior, potentially leading to misconfigurations that might degrade site functionality or open further attack vectors. Although it does not directly compromise confidentiality or availability, unauthorized changes could indirectly facilitate other attacks or disrupt normal operations. Since exploitation requires tricking an administrator into clicking a malicious link, the risk is mitigated by user awareness but remains significant in environments with multiple administrators or less security-conscious users. Organizations relying on this plugin may face increased risk of site misconfiguration, reputational damage, and potential downstream security issues. The absence of known exploits reduces immediate risk but does not eliminate it, especially as the vulnerability is publicly disclosed. The medium CVSS score reflects moderate impact and ease of exploitation with user interaction.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately monitor for official patches or updates from the plugin developer and apply them as soon as they become available. In the absence of a patch, administrators can implement manual nonce validation in the top_friends_options_subpanel() function by adding WordPress nonce checks to verify the legitimacy of requests. Additionally, restricting administrative access to trusted networks or IP addresses can reduce exposure. Educating site administrators about the risks of clicking untrusted links and implementing web application firewalls (WAFs) with CSRF protection rules can further reduce the attack surface. Regularly auditing plugin configurations and monitoring for unexpected changes can help detect exploitation attempts early. Disabling or removing the Top Friends plugin until a fix is available is a prudent step for high-risk environments. Finally, enforcing multi-factor authentication (MFA) for administrator accounts can mitigate the impact of compromised credentials leveraged in conjunction with CSRF attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-06T19:15:04.869Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691c305a35a0ab0a56271069

Added to database: 11/18/2025, 8:37:46 AM

Last enriched: 2/27/2026, 9:12:54 PM

Last updated: 3/22/2026, 7:38:52 AM

Views: 50

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses