CVE-2022-0750
MEDIUM
5.4
CVSS 3.1
Description
The Photoswipe Masonry Gallery WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the thumbnail_width, thumbnail_height, max_image_width, and max_image_height parameters found in the ~/photoswipe-masonry.php file which allows authenticated attackers to inject arbitrary web scripts into galleries created by the plugin and on the PhotoSwipe Options page. This affects versions up to and including 1.2.14.
Affected WordPress components
-
Photoswipe Masonry Gallery Plugin · photoswipe-masonryUp to and including 1.2.14View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- deanoakley Photoswipe Masonry Gallery — Up to and including 1.2.14
- thriveweb photoswipe_masonry_gallery — Before 1.2.15
References
- wordpress.org https://wordpress.org/plugins/photoswipe-masonry/ Product
- www.wordfence.com https://www.wordfence.com/blog/2022/02/stored-cross-site-scripting-vulnerability-patched-in-a-wordpress-photo-gallery-plugin/ Exploit, Third Party Advisory
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/64624d4c-3ffb-4516-a938-0accde24c79f?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record