CVE-2024-3899 Envira Gallery < 1.8.15 - Author+ Stored XSS

Medium 4.8 Published Updated

Authors can inject malicious scripts via image settings in Envira Gallery, potentially compromising other users' sessions.

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

What is CVE-2024-3899?

CVE-2024-3899 is a medium-severity cross-site scripting vulnerability in Unknown Gallery Plugin for WordPress, published on 11 Sep 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Gallery Plugin for WordPress WordPress plugin before 1.8.15 does not sanitise and escape some of its image settings, which could allow users with post-writing privilege such as Author to perform Cross-Site Scripting attacks.

Weakness: CWE-79

Which versions are affected by CVE-2024-3899?

It affects 1 product.

Products include Enviragallery Envira Gallery.

How do I fix CVE-2024-3899?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3899 exists.

Sources

Also known as GHSA-6c59-49qq-prw5.

Is CVE-2024-3899 in your software?

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

Check your SBOMs for free