{"id":"CVE-2022-0750","aliases":["CVE-2022-0750"],"related":[],"kind":"vulnerability","state":"published","title":"Photoswipe Masonry Gallery <= 1.2.14 Stored Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin Photoswipe Masonry Gallery de WordPress es vulnerable a un ataque de tipo Cross-Site Scripting debido a una insuficiencia de escape y saneo de los parámetros thumbnail_width, thumbnail_height, max_image_width y max_image_height que se encuentran en el archivo ~/photoswipe-masonry.php, lo que permite a atacantes autenticados inyectar scripts web arbitrarios en las galerías creadas por el plugin y en la página PhotoSwipe Options. Esto afecta a las versiones hasta 1.2.14 incluyéndola","source":"nvd"}],"published":"2022-03-23T19:46:50.000Z","modified":"2026-06-17T04:21:10.700Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.2.14","status":"affected"}],"vendor":"deanoakley","product":"Photoswipe Masonry Gallery","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.15"}],"vendor":"thriveweb","product":"photoswipe_masonry_gallery","cpe":"cpe:2.3:a:thriveweb:photoswipe_masonry_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/64624d4c-3ffb-4516-a938-0accde24c79f?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://wordpress.org/plugins/photoswipe-masonry/","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.wordfence.com/blog/2022/02/stored-cross-site-scripting-vulnerability-patched-in-a-wordpress-photo-gallery-plugin/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Chloe Chamberland"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:16:36.539Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0750","url":"https://www.cve.org/CVERecord?id=CVE-2022-0750","licence":"CVE Terms of Use","modified":"2026-04-08T16:57:33.156Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0750","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0750","licence":"Public domain","modified":"2026-06-17T04:21:10.700Z"}],"updatedAt":"2026-11-25T22:58:10.233Z","epss":{"score":0.04387,"percentile":0.91517,"date":"2026-12-01T12:00:22.000Z"}}