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-4171: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ajay WZ Followed Posts – Display what visitors are reading

0
Medium
VulnerabilityCVE-2025-4171cvecve-2025-4171cwe-79
Published: Wed May 07 2025 (05/07/2025, 07:21:40 UTC)
Source: CVE
Vendor/Project: ajay
Product: WZ Followed Posts – Display what visitors are reading

Description

The WZ Followed Posts – Display what visitors are reading plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wfp' shortcode in all versions up to, and including, 3.1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:18:04 UTC

Technical Analysis

CVE-2025-4171 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WordPress plugin 'WZ Followed Posts – Display what visitors are reading' developed by ajay. The vulnerability exists in all plugin versions up to 3.1.0 due to improper neutralization of input during web page generation, specifically within the 'wfp' shortcode. The root cause is insufficient sanitization and escaping of user-supplied attributes, allowing an authenticated attacker with contributor-level or higher privileges to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the browsers of any users who visit the affected pages, leading to potential session hijacking, credential theft, or unauthorized actions performed on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity, with an attack vector over the network, low attack complexity, requiring privileges but no user interaction, and impacts confidentiality and integrity with no effect on availability. No public exploits have been reported yet, but the vulnerability is publicly disclosed and recognized by CISA enrichment. The scope is considered changed (S:C), meaning the vulnerability affects resources beyond the initially compromised component. This vulnerability is categorized under CWE-79, which covers improper neutralization of input leading to XSS attacks. The absence of a patch link suggests that users must monitor vendor updates or apply manual mitigations. Given the widespread use of WordPress and the popularity of plugins, this vulnerability poses a notable risk to websites using this plugin, especially those allowing contributor-level access to untrusted users.

Potential Impact

The impact of CVE-2025-4171 is significant for organizations running WordPress sites with the vulnerable 'WZ Followed Posts' plugin. Exploitation allows authenticated contributors or higher to inject persistent malicious scripts, which execute in the context of any visitor's browser accessing the compromised pages. This can lead to theft of session cookies, enabling account takeover or privilege escalation, unauthorized actions performed on behalf of users, and potential spread of malware or phishing attacks. Confidentiality and integrity of user data and site content are at risk, though availability is not directly affected. Since contributors can inject scripts, insider threats or compromised contributor accounts increase risk. The vulnerability could be leveraged to target site administrators or high-value users by stealing credentials or session tokens. Organizations with large user bases or sensitive data hosted on WordPress sites are particularly vulnerable. The medium CVSS score reflects that exploitation requires some privileges but is otherwise straightforward, making it a credible threat. The lack of known exploits in the wild currently reduces immediate risk but does not eliminate it, as attackers may develop exploits following disclosure. Failure to address this vulnerability could lead to reputational damage, data breaches, and regulatory compliance issues.

Mitigation Recommendations

To mitigate CVE-2025-4171, organizations should first check for and apply any official patches or updates released by the plugin vendor. If no patch is available, administrators should consider temporarily disabling or removing the vulnerable plugin to eliminate the attack surface. Restrict contributor-level access strictly to trusted users and audit existing contributor accounts for suspicious activity. Implement Web Application Firewall (WAF) rules to detect and block malicious payloads targeting the 'wfp' shortcode or suspicious script injections. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. Sanitize and validate all user inputs rigorously, especially those that interact with shortcodes or dynamic content generation. Monitor logs and site behavior for signs of XSS exploitation or unusual user activity. Educate site contributors about the risks of injecting untrusted content and enforce strict content moderation policies. Regularly back up site data to enable recovery in case of compromise. Finally, consider using security plugins that provide enhanced input filtering and XSS protection tailored for WordPress environments.

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

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-01T12:20:07.720Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d981bc4522896dcbd9a15

Added to database: 5/21/2025, 9:08:43 AM

Last enriched: 2/27/2026, 2:18:04 PM

Last updated: 3/25/2026, 1:48:01 AM

Views: 61

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