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-2024-2948: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kylephillips Favorites

0
Medium
VulnerabilityCVE-2024-2948cvecve-2024-2948cwe-79
Published: Sat Mar 30 2024 (03/30/2024, 07:36:30 UTC)
Source: CVE Database V5
Vendor/Project: kylephillips
Product: 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

AILast updated: 04/09/2026, 14:09:53 UTC

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.

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
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 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