Intel

AIKIDO-2026-201444

drupal/media_folders is vulnerable to Cross-site Scripting (XSS)

CVE-2026-16638Published Jul 23, 2026
July 23, 2026

56

CVE Score

Medium

Cross-site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Affected versions of the Media Folders module do not sufficiently sanitize the names and descriptions of media items and folders when they are displayed in the media browser, resulting in a stored cross-site scripting (XSS) vulnerability. An attacker with permission to create or edit media items or folders could inject malicious scripts that execute when other users browse the media library.

How do I fix this?

Upgrade the drupal/media_folders module to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and have the Media Folders module enabled on your Drupal site.

Versions

0.0.1 - 1.0.7

Fixed in 1.0.8

Background info

drupal/media_folders is vulnerable to Cross-site Scripting (XSS) in versions 0.0.1 - 1.0.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea