All-in-One Video Gallery <= 4.9.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'more_link' Shortcode Attribute
Impact
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'more_link' parameter in all versions up to, and including, 4.9.7 due to insufficient input sanitization and output escaping. 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.
Source excerpt · WordfenceAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
plugins360 · All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 0 through 4.9.7 (inclusive) | affected |
Original source description
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'more_link' parameter in all versions up to, and including, 4.9.7 due to insufficient input sanitization and output escaping. 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.
References
- Security advisory www.wordfence.com/threat-intel/vulnerabilities/id/97200206-e43d-403e-8aa1-4f11422385c6
- Source reference plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/4.9.7/includes/helpers/render.php
- Source reference plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/4.9.7/public/videos.php
- Source reference plugins.trac.wordpress.org/browser/all-in-one-video-gallery/tags/4.9.7/public/videos.php
- Patch plugins.trac.wordpress.org/changeset/3759353/all-in-one-video-gallery/trunk/includes/helpers/render.php