WordPress plugins: Cross Site Scripting in WordPress plugins (CVE-2024-5020) #shorts

CVE

This CVE describes a vulnerability found in multiple WordPress plugins, specifically those using the FancyBox JavaScript library, in versions ranging from 1.3.4 to 3.5.7. This is a zero-day vulnerability involving stored cross-site scripting, which occurs due to insufficient input validation and output escaping on user-supplied attributes. Authenticated contributors—not just administrators—can exploit this weakness to inject arbitrary web scripts. These malicious scripts are executed in the victim's browser whenever they access an affected page. This poses a significant security risk as it can lead to unauthorized actions within the user's session.

Watch the full video on YouTube: CVE-2024-5020

Remediation and exploitation details

This chain involves the following actors

This following systems are involved

Attack entry point

Remediation actions

Exploitation actions

Related Content

NOTE: The following related content has not been vetted and may be unsafe.

CVE database technical details

CVE ID
CVE-2024-5020
Description
Multiple plugins for WordPress are vulnerable to Stored Cross-Site Scripting via the plugin's bundled FancyBox JavaScript library (versions 1.3.4 to 3.5.7) in various versions 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.
Provider
Wordfence
CWE / problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Software Versions
extendthemes:Colibri Page Builder:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '1.0.286', 'versionType': 'semver'}],smub:Gallery Plugin for WordPress – Envira Photo Gallery:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '1.8.15', 'versionType': 'semver'}],bqworks:Accordion Slider:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '1.9.12', 'versionType': 'semver'}],10web:Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '1.15.27', 'versionType': 'semver'}],jetmonsters:Getwid – Gutenberg Blocks:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '2.0.11', 'versionType': 'semver'}],firelightwp:Firelight Lightbox:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '2.3.3', 'versionType': 'semver'}],dfactory:Responsive Lightbox & Gallery:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '2.4.8', 'versionType': 'semver'}],shapedplugin:Carousel, Slider, Gallery by WP Carousel – Image Carousel with Lightbox & Photo Gallery, Video Slider, Post Carousel & Post Grid, Product Carousel & Product Grid:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '2.6.8', 'versionType': 'semver'}],colorlibplugins:FancyBox for WordPress:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '3.3.4', 'versionType': 'semver'}],nko:Visual Portfolio, Photo Gallery & Post Grid:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '3.3.9', 'versionType': 'semver'}],smub:Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '3.59.4', 'versionType': 'semver'}],wpclever:WPC Smart Quick View for WooCommerce:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '4.1.1', 'versionType': 'semver'}],Easy Social Feed:Easy Social Feed Premium:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '6.6.2', 'versionType': 'semver'}],foliovision:FV Flowplayer Video Player:[{'version': '*', 'status': 'affected', 'lessThanOrEqual': '7.5.47.7212', 'versionType': 'semver'}]
Date Published
2024-12-04T08:22:46.855Z
Last Updated
2024-12-04T14:09:09.188Z