CVE-2024-29833 WordPress Photo Gallery Plugin <= 1.8.21 Stored Cross Site Scripting in UploadHandler

Medium 5.4 Published Updated

An attacker can inject malicious scripts via SVG uploads that bypass sanitization, affecting both authenticated and unauthenticated users.

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

What is CVE-2024-29833?

CVE-2024-29833 is a medium-severity cross-site scripting vulnerability in 10Web PhotoGallery, published on 26 Mar 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The image upload component allows SVG files and the regular expression used to remove script tags can be bypassed by using a Cross Site Scripting payload which does not match the regular expression; one example of this is the inclusion of whitespace within the script tag. An attacker must target an authenticated user with permissions to access this feature, however once uploaded the payload is also accessible to unauthenticated users.

Weakness: CWE-79

Which versions are affected by CVE-2024-29833?

It affects 1 product.

Products include 10web Photo Gallery.

How do I fix CVE-2024-29833?

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

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

Sources

Also known as GHSA-48f8-hxqq-cjj3.

Is CVE-2024-29833 in your software?

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

Check your SBOMs for free