CVE-2024-9238 AVIF & SVG Uploader <= 1.1.0 - Author+ Stored XSS via SVG Uplaod

Medium 5.4 Published Updated

Attackers with Author role can upload malicious SVG files to execute arbitrary scripts in victim browsers via stored XSS.

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-9238?

CVE-2024-9238 is a medium-severity cross-site scripting vulnerability in Unknown AVIF Uploader, published on 15 May 2025. 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 AVIF Uploader WordPress plugin before 1.1.1 does not sanitise uploaded SVG files, which could allow users with a role as low as Author to upload a malicious SVG containing XSS payloads.

Weakness: CWE-79

Which versions are affected by CVE-2024-9238?

It affects 1 product.

Products include Grandplugins Avif Uploader.

How do I fix CVE-2024-9238?

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

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

Sources

Also known as GHSA-7pq2-p2r6-3h8r.

Is CVE-2024-9238 in your software?

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

Check your SBOMs for free