{"id":"CVE-2022-0750","published":"2022-03-23T19:46:50Z","modified":"2026-04-08T16:57:33Z","title":"Photoswipe Masonry Gallery <= 1.2.14 Stored Cross-Site Scripting","vendor":"deanoakley","product":"Photoswipe Masonry Gallery","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04387,"percentile":0.91527,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/64624d4c-3ffb-4516-a938-0accde24c79f?source=cve","tags":[]},{"url":"https://wordpress.org/plugins/photoswipe-masonry/","tags":[]},{"url":"https://www.wordfence.com/blog/2022/02/stored-cross-site-scripting-vulnerability-patched-in-a-wordpress-photo-gallery-plugin/","tags":[]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":18.31},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"deanoakley","affectedVersions":[{"vendor":"deanoakley","product":"Photoswipe Masonry Gallery","versions":["<= 1.2.14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:16:36.539277Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Photoswipe Masonry Gallery WordPress plugin (versions up to and including 1.2.14) fails to properly escape and sanitise the thumbnail_width, thumbnail_height, max_image_width and max_image_height parameters in its photoswipe-masonry.php file, enabling stored cross-site scripting. An authenticated attacker with low privileges can inject arbitrary web script into galleries created by the plugin and into the PhotoSwipe Options page, with no user interaction required and network access sufficient to exploit it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:27Z"},"euvd":{"id":"EUVD-2022-15813","exploited":false,"provenance":"source"}}