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-31404: Cross-Site Request Forgery (CSRF) in Wladyslaw Madejczyk AF Tell a Friend

0
Unknown
VulnerabilityCVE-2025-31404cvecve-2025-31404
Published: Wed Apr 09 2025 (04/09/2025, 16:09:57 UTC)
Source: CVE Database V5
Vendor/Project: Wladyslaw Madejczyk
Product: AF Tell a Friend

Description

Cross-Site Request Forgery (CSRF) vulnerability in Wladyslaw Madejczyk AF Tell a Friend af-tell-a-friend allows Stored XSS.This issue affects AF Tell a Friend: from n/a through <= 1.4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 01:10:08 UTC

Technical Analysis

CVE-2025-31404 identifies a Cross-Site Request Forgery (CSRF) vulnerability in the AF Tell a Friend plugin developed by Wladyslaw Madejczyk, affecting all versions up to and including 1.4. The vulnerability allows an attacker to trick authenticated users into submitting unauthorized requests to the web application, which in turn can lead to Stored Cross-Site Scripting (XSS). Stored XSS occurs when malicious scripts injected by the attacker are permanently stored on the target server, such as in a database or message board, and executed in the context of other users' browsers. This combination of CSRF and Stored XSS can be particularly dangerous because it allows attackers to bypass normal authentication and authorization controls, potentially leading to session hijacking, data theft, or defacement. The vulnerability affects web applications using the AF Tell a Friend plugin, which is typically used to enable users to share content with friends via email or social media. The lack of CSRF protections means that attackers can craft malicious links or forms that, when visited by authenticated users, execute unintended actions without their consent. The absence of input sanitization and output encoding facilitates the Stored XSS component, allowing persistent malicious payloads to be stored and executed. No CVSS score has been assigned yet, and no known exploits have been reported in the wild. The vulnerability was reserved in late March 2025 and published in early April 2025. No patches or official fixes have been linked, indicating that users of this plugin remain vulnerable. The technical details suggest that mitigation should focus on implementing anti-CSRF tokens, validating and sanitizing user inputs, and encoding outputs to prevent script execution. This vulnerability poses a significant risk to web applications that rely on this plugin, especially those with high user interaction and sensitive data.

Potential Impact

The impact of CVE-2025-31404 is significant for organizations using the AF Tell a Friend plugin in their web applications. Successful exploitation can lead to unauthorized actions performed on behalf of legitimate users without their knowledge, compromising user trust and application integrity. The Stored XSS aspect allows attackers to inject persistent malicious scripts that can steal session cookies, redirect users to malicious sites, or perform actions within the victim's browser context. This can result in data breaches, account takeovers, defacement, and potential spread of malware. For organizations, this can lead to reputational damage, regulatory penalties, and operational disruptions. Since the vulnerability does not require user interaction beyond visiting a crafted link and does not require authentication for the CSRF attack to succeed (assuming the victim is authenticated), the attack surface is broad. The absence of known exploits in the wild currently limits immediate widespread impact, but the availability of technical details increases the risk of future exploitation. Organizations with high volumes of user traffic or sensitive user data are particularly at risk. The vulnerability also undermines the confidentiality, integrity, and availability of affected systems, potentially allowing attackers to escalate privileges or pivot to other parts of the network.

Mitigation Recommendations

To mitigate CVE-2025-31404, organizations should implement several specific measures beyond generic advice: 1) Apply or develop patches that introduce anti-CSRF tokens in all state-changing requests within the AF Tell a Friend plugin to ensure requests are legitimate and originate from authenticated users. 2) Conduct thorough input validation and sanitization on all user-supplied data to prevent injection of malicious scripts, focusing on fields that are stored and later rendered in the application. 3) Implement output encoding (e.g., HTML entity encoding) on all data rendered in the browser to prevent execution of injected scripts. 4) Review and harden the plugin’s codebase to follow secure coding practices, including the principle of least privilege and proper session management. 5) Monitor web application logs for unusual or suspicious requests that may indicate exploitation attempts. 6) Educate users about the risks of clicking on unsolicited links, especially when authenticated to sensitive applications. 7) If immediate patching is not possible, consider disabling or restricting the use of the AF Tell a Friend plugin until a secure version is available. 8) Employ Web Application Firewalls (WAFs) with custom rules to detect and block CSRF and XSS attack patterns targeting this plugin. 9) Regularly audit and update all third-party plugins and dependencies to minimize exposure to known vulnerabilities.

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
Patchstack
Date Reserved
2025-03-28T10:59:36.421Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cd734ae6bfc5ba1def18a8

Added to database: 4/1/2026, 7:34:34 PM

Last enriched: 4/2/2026, 1:10:08 AM

Last updated: 4/4/2026, 6:51:53 AM

Views: 6

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