CVE-2026-87942 SafeDelete - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-140
Medium 4.6
Published
Updated
Check this codebase for CVE-2026-87942 and fix it if it is affected.
What it is: CVE-2026-87942 is a medium-severity vulnerability in Drupal SafeDelete, published on 22 Oct 2026.
Exploitation: There is no known exploitation of CVE-2026-87942 in the wild and no public exploit code.
Affected product: Drupal SafeDelete. No package-level version data is available, so check the vendor advisory linked from the reference page.
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2026-87942/ (Markdown: https://insights.sbomify.com/CVE-2026-87942/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-87942?
CVE-2026-87942 is a medium-severity vulnerability in Drupal SafeDelete, published on 22 Oct 2026.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-87942?
Linux distribution packages (1)
drupal/safedelete Packagist:https://packages.drupal.org/8 | All versions | 1.0.88 |
How do I fix CVE-2026-87942?
Upgrade to a fixed version.
Is CVE-2026-87942 being exploited?
There is no known exploitation of CVE-2026-87942 in the wild and no public exploit code.
Sources
Also known as DRUPAL-CONTRIB-2026-140, GHSA-3cfc-vppv-prxq.