Vulnerability · Published Mar 23, 2022 · Assigned by Wordfence
CVE-2022-0750Photoswipe Masonry Gallery <= 1.2.14 Stored Cross-Site Scripting
Medium 6.4
In plain English
A medium-severity cross-site scripting in Photoswipe Masonry Gallery from deanoakley. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| deanoakley | Photoswipe Masonry Gallery | 0 – through 1.2.14 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N