Description
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'custom_fields[].value.label (for key='track')' parameter in all versions up to, and including, 5.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the site's Player Library option to be configured as Plyr/Vidstack (aiovg_player_settings[player]='vidstack') rather than the Video.js default, as the DOM innerHTML sink exists only in the Plyr/Vidstack template path.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
plugins360 All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos
Default version status: unaffected
0 to ≤ 5.0.0affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6f43da15-cec5-47e5-8054-77ea2470c93d?source=cve ↗
- https://plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/5.0.0/public/templates/player-vidstack.php#L1341 ↗
- https://plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/5.0.0/admin/videos.php#L164 ↗
- https://plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/5.0.0/admin/videos.php#L285 ↗
- https://plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/5.0.0/includes/roles.php#L69 ↗
- https://plugins.trac.wordpress.org/changeset/3781167/all-in-one-video-gallery/trunk/public/templates/player-vidstack.php ↗