---
id: "CVE-2026-87942"
kind: "vulnerability"
aliases: ["CVE-2026-87942"]
title: "Drupal SafeDelete: stored cross-site scripting in versions up to 1.0.88"
severity: "medium"
cvss: 4.6
epss: 0.00162
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["drupal", "package", "php"]
not_affected_if: ["sites-without-safedelete"]
published_at: "2026-10-22T02:17:03+00:00"
first_seen_at: "2026-10-23T21:57:30+00:00"
updated_at: "2026-10-25T04:35:29+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87942", "first_seen_at": "2026-10-23T21:57:30+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-87942", "first_seen_at": "2026-10-24T07:15:52+00:00"}]
---

# Drupal SafeDelete: stored cross-site scripting in versions up to 1.0.88

Drupal SafeDelete module versions up to 1.0.88 fail to neutralize input when generating web pages, enabling stored cross-site scripting. An attacker who can store crafted input can run script in other users' browsers when the page renders.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed SafeDelete version with `drush pm:list --filter=safedelete` or by reviewing `composer show drupal/safedelete`
- unknown whether other checks apply

## Fix

- Upgrade the Drupal SafeDelete module to a version later than `1.0.88` (exact fixed version: unknown)

## Timeline

- 2026-10-23T21:57:30+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-87942
- 2026-10-24T07:15:52+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-87942

## From the sources

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal SafeDelete allows Stored XSS. This issue affects SafeDelete versions: from 0.0.0 to 1.0.88.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
