CVE-2024-13286 SVG Embed - Moderately critical - Cross site scripting - SA-CONTRIB-2024-050

Medium 5.4 Published Updated

An attacker can inject malicious scripts into web pages via the SVG Embed module, potentially compromising user sessions or data.

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
Available

What is CVE-2024-13286?

CVE-2024-13286 is a medium-severity cross-site scripting vulnerability in Drupal SVG Embed, published on 9 Jan 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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal SVG Embed allows Cross-Site Scripting (XSS).This issue affects SVG Embed: from 0.0.0 before 2.1.2.

Weakness: CWE-79

Which versions are affected by CVE-2024-13286?

It affects 1 product.

Linux distribution packages (1)
drupal/svg_embed Packagist:https://packages.drupal.org/8All versions2.1.2

Products include Svg Embed Project Svg Embed.

How do I fix CVE-2024-13286?

Upgrade to a fixed version.

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-13286 being exploited?

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

Sources

Also known as DRUPAL-CONTRIB-2024-050, GHSA-hwc6-hhj2-hp24.

Is CVE-2024-13286 in your software?

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

Check your SBOMs for free