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-5346: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in UX-themes Flatsome

0
Medium
VulnerabilityCVE-2024-5346cvecve-2024-5346cwe-79
Published: Sat Jun 22 2024 (06/22/2024, 02:01:03 UTC)
Source: CVE Database V5
Vendor/Project: UX-themes
Product: Flatsome

Description

The Flatsome theme for WordPress is vulnerable to Stored Cross-Site Scripting via the UX Countdown, Video Button, UX Video, UX Slider, UX Sidebar, and UX Payment Icons shortcodes in all versions up to, and including, 3.18.7 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: 04/09/2026, 20:11:48 UTC

Technical Analysis

CVE-2024-5346 is a stored cross-site scripting vulnerability in the UX-themes Flatsome WordPress theme affecting versions up to and including 3.18.7. The flaw arises from insufficient sanitization and escaping of user-supplied attributes in several shortcodes (UX Countdown, Video Button, UX Video, UX Slider, UX Sidebar, and UX Payment Icons). This allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages, which executes in the context of users visiting those pages. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N). No known exploits in the wild have been reported, and no patch or remediation details are currently available.

Potential Impact

Successful exploitation allows an authenticated user with contributor or higher privileges to inject malicious scripts that execute in other users' browsers when they access the compromised pages. This can lead to limited confidentiality and integrity impacts, such as session hijacking or defacement, but does not affect availability. The vulnerability requires authentication and low attack complexity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access carefully and consider disabling or limiting use of the affected shortcodes to reduce exposure.

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-05-24T20:45:43.636Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6be6b7ef31ef0b55beba

Added to database: 2/25/2026, 9:38:46 PM

Last enriched: 4/9/2026, 8:11:48 PM

Last updated: 4/12/2026, 1:12:48 AM

Views: 10

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