CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022

CVE-2022-0750
Thriveweb Photoswipe Masonry Gallery vulnerability

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

Photoswipe Masonry Gallery. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Thriveweb Photoswipe Masonry Gallery runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.