CVE-2022-1282 Photo Gallery < 1.6.3 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via unsanitized input in the Photo Gallery plugin, requiring an upgrade to fix.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-1282?

CVE-2022-1282 is a medium-severity cross-site scripting vulnerability in Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery, published on 2 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Photo Gallery by 10Web WordPress plugin before 1.6.3 does not properly sanitize the $_GET['image_url'] variable, which is reflected back to the users when executing the editimage_bwg AJAX action.

Weakness: CWE-79

Which versions are affected by CVE-2022-1282?

It affects 1 product.

Products include 10web Photo Gallery.

How do I fix CVE-2022-1282?

No fix has been published for CVE-2022-1282 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-1282 being exploited?

There is no known exploitation of CVE-2022-1282 in the wild and no public exploit code.

Sources

Also known as GHSA-pvgm-8x6w-r3f9.

Is CVE-2022-1282 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free