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