CVE-2024-2948: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kylephillips Favorites
The Favorites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'user_favorites' shortcode in all versions up to, and including, 2.3.3 due to insufficient input sanitization and output escaping on user supplied attributes such as 'no_favorites'. 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 Analysis
Technical Summary
CVE-2024-2948 is a stored cross-site scripting vulnerability in the Favorites WordPress plugin by kylephillips. The issue is due to improper neutralization of input during web page generation, specifically in the 'user_favorites' shortcode where user-supplied attributes like 'no_favorites' are not properly sanitized or escaped. This allows authenticated users with contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of other users viewing the affected pages. The vulnerability affects all plugin versions up to and including 2.3.3.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, which execute in the browsers of users who access those pages. This can lead to theft of user credentials, session hijacking, or other actions performed with the victim's privileges. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent as indicated by the CVSS vector (C:L/I:L/A:N).
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should check the vendor's advisory or plugin updates regularly for an official fix. Until a patch is available, restrict contributor-level access to trusted users only and consider disabling or removing the Favorites plugin if feasible. Monitor plugin updates closely to apply any forthcoming security patches promptly.
CVE-2024-2948: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kylephillips Favorites
Description
The Favorites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'user_favorites' shortcode in all versions up to, and including, 2.3.3 due to insufficient input sanitization and output escaping on user supplied attributes such as 'no_favorites'. 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
Technical Analysis
CVE-2024-2948 is a stored cross-site scripting vulnerability in the Favorites WordPress plugin by kylephillips. The issue is due to improper neutralization of input during web page generation, specifically in the 'user_favorites' shortcode where user-supplied attributes like 'no_favorites' are not properly sanitized or escaped. This allows authenticated users with contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of other users viewing the affected pages. The vulnerability affects all plugin versions up to and including 2.3.3.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages, which execute in the browsers of users who access those pages. This can lead to theft of user credentials, session hijacking, or other actions performed with the victim's privileges. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent as indicated by the CVSS vector (C:L/I:L/A:N).
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should check the vendor's advisory or plugin updates regularly for an official fix. Until a patch is available, restrict contributor-level access to trusted users only and consider disabling or removing the Favorites plugin if feasible. Monitor plugin updates closely to apply any forthcoming security patches promptly.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-26T16:54:13.818Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6dbab7ef31ef0b58d47c
Added to database: 2/25/2026, 9:46:34 PM
Last enriched: 4/9/2026, 2:09:53 PM
Last updated: 4/12/2026, 3:37:24 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.