CVE-2024-8378 Safe SVG < 2.2.6 - Author+ SVG Sanitisation Bypass

Medium 4.8 Published Updated

An attacker can bypass SVG sanitization in the Safe SVG WordPress plugin by using specific upload methods, potentially leading to code execution.

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

CVE-2024-8378 is a medium-severity vulnerability in Unknown Safe SVG, published on 7 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Safe SVG WordPress plugin before 2.2.6 has its sanitisation code is only running for paths that call wp_handle_upload, but not for example for code that uses wp_handle_sideload which is often used to upload attachments via raw POST data.

Which versions are affected by CVE-2024-8378?

It affects 1 product.

Products include 10up Safe Svg.

How do I fix CVE-2024-8378?

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

Is CVE-2024-8378 being exploited?

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

Sources

Also known as GHSA-j7hj-68jp-pg28.

Is CVE-2024-8378 in your software?

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

Check your SBOMs for free