CVE-2021-25041 Photo Gallery by 10Web < 1.5.68 - Reflected Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

Attackers can inject malicious scripts via GET parameters in the Photo Gallery by 10Web WordPress plugin, potentially compromising user sessions.

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-2021-25041?

CVE-2021-25041 is a medium-severity cross-site scripting vulnerability in Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery, published on 6 Dec 2021. 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.5.68 is vulnerable to Reflected Cross-Site Scripting (XSS) issues via the bwg_album_breadcrumb_0 and shortcode_id GET parameters passed to the bwg_frontend_data AJAX action

Weakness: CWE-79

Which versions are affected by CVE-2021-25041?

It affects 1 product.

Products include 10web Photo Gallery.

How do I fix CVE-2021-25041?

No fix has been published for CVE-2021-25041 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-2021-25041 being exploited?

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

Sources

Also known as GHSA-7x5v-x5hh-f8f3.

Is CVE-2021-25041 in your software?

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

Check your SBOMs for free