Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-0750: The Photoswipe Masonry Gallery WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient esca

50
This month
MEDIUM 6.4UPGRADE

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 score6.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance4.4% (top 9%)
CISA exploited listNo
WeaknessCWE-79
Published2022-03-23
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: thriveweb

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

thriveweb photoswipe masonry gallery UPGRADE
Affected: < 1.2.15
Fixed in: 1.2.15
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy photoswipe-masonry-gallery || rpm -q photoswipe-masonry-gallery || photoswipe-masonry-gallery --version
2. UPGRADE to 1.2.15 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade photoswipe-masonry-gallery
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade photoswipe-masonry-gallery
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.