CVE-2026-87942 in SafeDeleteinfo

Summary

by MITRE • 10/22/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 10/22/2026

The identified security flaw represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this vulnerability manifests within the SafeDelete module for Drupal, affecting all versions from 0.0.0 up to and including version 1.0.88. The core technical deficiency lies in the application's failure to adequately sanitize user-supplied input before it is rendered back into the web page context. Unlike reflected XSS where malicious scripts are executed immediately via a crafted link, this vulnerability allows for Stored Cross-Site Scripting. This means that an attacker can inject malicious script payloads into data fields within the SafeDelete module, which are then permanently stored on the target server's database or file system rather than being discarded after a single request.

When other users subsequently access pages containing the compromised data, their browsers execute the embedded scripts in the context of the vulnerable website. This persistence is particularly dangerous because it transforms a one-time injection into a long-term threat vector that impacts multiple victims without requiring further interaction from the attacker beyond the initial submission. The SafeDelete module likely handles content deletion or management tasks where user input such as comments, descriptions, or metadata might be processed and displayed later. If these inputs are not properly encoded against HTML special characters like ampersands, less-than signs, greater-than signs, quotes, and apostrophes before being output to the browser, they can break out of their intended data context and execute arbitrary JavaScript code within the victim's session environment.

The operational impact of this vulnerability is severe due to its stored nature. Attackers leveraging Stored XSS can perform a variety of malicious actions on behalf of authenticated users who view the affected pages. These actions typically include stealing sensitive information such as session cookies, authentication tokens, or personal data displayed on the page through JavaScript-based keyloggers or form hijacking techniques. Furthermore, attackers may manipulate the user interface to deceive victims into performing unintended administrative actions if they possess elevated privileges within the Drupal environment. This can lead to unauthorized content modifications, privilege escalation, or complete compromise of the underlying web application infrastructure depending on the permissions held by the viewing users.

From a classification perspective, this vulnerability aligns with CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting). The specific variant is categorized under Stored XSS, which often correlates with ATT&CK technique T1059.007: JavaScript within the Enterprise Attack matrix for execution and potentially T1213: Data from Information Repositories if used to exfiltrate stored data. Mitigation strategies must prioritize immediate patching of the SafeDelete module to a version newer than 1.0.88 where these input validation issues have been resolved by the developers. In addition to updating software, administrators should implement strict Content Security Policy headers that restrict script execution sources and employ Web Application Firewall rules capable of detecting and blocking common XSS payloads in HTTP requests directed at SafeDelete endpoints. Regular security audits focusing on output encoding practices across all user-facing modules are also recommended to prevent similar vulnerabilities from arising elsewhere in the application stack.

Responsible

Drupal

Reservation

09/09/2026

Disclosure

10/22/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!