CVE-2022-0750: The Photoswipe Masonry Gallery WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient esca
CVE-2022-0750 is a medium-severity flaw (CVSS 6.4) affecting photoswipe masonry gallery. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- EPSS top 9%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 4.4% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-03-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-0750?
photoswipe masonry gallery: upgrade to 1.2.15. Exact commands for each OS are on this page.
Is CVE-2022-0750 being exploited?
CVE-2022-0750 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-0750 affect?
CVE-2022-0750 affects photoswipe masonry gallery. Severity is medium (CVSS 6.4). 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 ~/p
How urgent is CVE-2022-0750?
Priority 50/100. EPSS top 9%: very likely to be exploited; Public exploit reference
Software pages
WordPress vulnerabilities · PHP vulnerabilities