CVE-2026-16638 Media Folders - Moderately critical - Cross site scripting - SA-CONTRIB-2026-080

Medium 6.1 Published Updated

An attacker can inject malicious scripts into Drupal Media Folders, potentially executing code in victim browsers.

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

What is CVE-2026-16638?

CVE-2026-16638 is a medium-severity cross-site scripting vulnerability in Drupal Media Folders, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, 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 Media Folders allows Stored XSS. This issue affects Media Folders versions: from 0.0.0 to 1.0.8.

Weakness: CWE-79

Which versions are affected by CVE-2026-16638?

Linux distribution packages (1)
drupal/media_folders Packagist:https://packages.drupal.org/8All versions1.0.8

How do I fix CVE-2026-16638?

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-2026-16638 being exploited?

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

Sources

Also known as DRUPAL-CONTRIB-2026-080, GHSA-9qmj-5rmh-j6x2.

Is CVE-2026-16638 in your software?

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

Check your SBOMs for free