CVE-2022-0750CWE-79

Photoswipe Masonry Gallery <= 1.2.14 Stored Cross-Site Scripting

Medium · published March 23, 2022

CVSS v3.1
6.4
EPSS
4%
Percentile
91.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.04387 · 91.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-03-23T19:46Z
EPSS history
Timeline
  • 23 MAR 19:46Z
    Photoswipe Masonry Gallery <= 1.2.14 Stored Cross-Site Scripting
    cvelistv5