CVE-2022-0750Thriveweb Photoswipe Masonry Gallery
Medium 5.4
Follow: this CVE · Thriveweb · Thriveweb Photoswipe Masonry Gallery We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- Yes
- Published
- Mar 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Photoswipe Masonry Gallery.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| thriveweb | photoswipe_masonry_gallery | < 1.2.15 |
Official sources
References
Links published by the sources. Open them with care.
- wordpress.org Product
- www.wordfence.com Exploit Third Party Advisory
- www.wordfence.com Third Party Advisory