CVE-2026-15084: Drupal UI Patterns Module Insufficient Markup Sanitization Vulnerability

drupal/ui_patterns Updated 10 Jul 2026

Summary

08/07/2026
Yes i
Unrated
Not published

CVE-2026-15084: This module enables you to use Single Directory Components in site building (views, field formatters, blocks, layouts) and it improves the Developer Experience (DX) with SDC. Affects drupal/ui_patterns versions >= 2.0.0, < 2.0.17. Fixed in 2.0.17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Drupal UI Patterns module allows developers to utilize Single Directory Components for site building tasks such as views, field formatters, blocks, and layouts. This module enhances the Developer Experience (DX) by streamlining the use of UI Patterns, making it easier to manage and implement design components within Drupal sites.

Vulnerability Detail

The vulnerability arises from the module's failure to adequately sanitize the markup passed to components in certain scenarios. This oversight can lead to potential security risks, as it may allow attackers to inject malicious content into the rendered output. The vulnerability is particularly concerning because it requires an attacker to have the ability to create or update content that is rendered by UI Patterns, which could lead to cross-site scripting (XSS) attacks or other forms of content manipulation.

How To Fix

Minimum fixed version

2.0.17

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict user permissions to prevent unauthorized users from creating or updating content that is rendered by UI Patterns. This will help mitigate the risk until the module is updated.

Conclusion

The CVE-2026-15084 vulnerability in the Drupal UI Patterns module highlights the importance of proper markup sanitization to prevent potential security threats. By updating to the latest version of the module and implementing user permission restrictions, you can safeguard your application against this vulnerability.

See every vulnerability recorded for drupal/ui_patterns →

Share this vulnerability

FAQ

The vulnerability is related to insufficient sanitization of markup, which can lead to security risks such as XSS attacks.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, restrict user permissions to limit access to content creation and updates that utilize UI Patterns.

Yes, updating to version 2.0.17 or later of the UI Patterns module will fix the vulnerability.

You can reach out to Hervé Donner, who reported the vulnerability, through their Drupal profile at https://www.drupal.org/u/herved.

How To Fix

Minimum fixed version

2.0.17

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback