# CVE-2022-0750: Photoswipe Masonry Gallery \<= 1.2.14 Stored Cross-Site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-23 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2022-0750 · JSON: https://cvemate.com/vulnerability/CVE-2022-0750/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 4.387%, percentile 91.566%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- deanoakley photoswipe masonry gallery: ≤ 1.2.14
- thriveweb photoswipe\_masonry\_gallery: \< 1.2.15
- wordpress photoswipe-masonry: ≤ 1.2.14 (fixed in 1.2.15)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/64624d4c-3ffb-4516-a938-0accde24c79f?source=cve>
- <https://wordpress.org/plugins/photoswipe-masonry/>
- <https://www.wordfence.com/blog/2022/02/stored-cross-site-scripting-vulnerability-patched-in-a-wordpress-photo-gallery-plugin/>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/64624d4c-3ffb-4516-a938-0accde24c79f>

---

Data as of 2026-12-05T07:37:07.639Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
