Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Media folders: This module provides a better UI for managing and selecting Media entities in a folder structure. (CVE-2026-16638)

0
Medium
Published: 07/22/2026 (07/22/2026, 17:52:45 UTC)
Source: GCVE Database
Product: drupal/media_folders

Description

The Media folders module for Drupal provides an improved UI for managing media entities in a folder structure. It suffers from a stored cross-site scripting (XSS) vulnerability due to insufficient sanitization of media item and folder names and descriptions when displayed in the media browser. Exploitation requires the attacker to have permissions to create or edit media items or folders. Versions prior to 1.0.8 are affected.

Affected software

Packagist:https://packages.drupal.org/8ghsa
drupal/media_folders
Affected versions
<1.0.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 00:11:41 UTC

Technical Analysis

CVE-2026-16638 is a stored XSS vulnerability in the Drupal media_folders module that arises from inadequate sanitization of names and descriptions of media items and folders in the media browser UI. This allows an attacker with appropriate media creation or editing permissions to inject malicious scripts that persist in the system and execute when viewed by users with access to the media browser. The vulnerability affects all versions before 1.0.8.

Potential Impact

An attacker with permissions to create or edit media items or folders can inject malicious scripts that execute in the context of users viewing the media browser, potentially leading to session hijacking, privilege escalation, or other XSS-related impacts. However, the attack surface is limited by the need for elevated permissions to create or edit media content.

Mitigation Recommendations

Upgrade to version 1.0.8 or later of the media_folders module where this vulnerability is fixed. Since the vulnerability requires specific permissions to exploit, ensure that only trusted users have media creation or editing rights. Patch status is not explicitly confirmed in the input data, but the affectedVersions field indicates that versions prior to 1.0.8 are vulnerable, implying that 1.0.8 contains the fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
DRUPAL-CONTRIB-2026-080
Osv Schema Version
1.7.0
Aliases
["CVE-2026-16638"]
Ecosystems
["Packagist:https://packages.drupal.org/8"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a6151349c2644c7f8da7617

Added to database: 07/22/2026, 23:24:36 UTC

Last enriched: 07/23/2026, 00:11:41 UTC

Last updated: 07/23/2026, 00:20:52 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses