CVE-2026-18986 Entity Browser - Moderately critical - Cross site scripting - SA-CONTRIB-2026-094

Medium 4.8 Published Updated

Attackers can inject malicious scripts via stored XSS in Drupal Entity Browser, potentially compromising user sessions and site integrity.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-18986?

CVE-2026-18986 is a medium-severity cross-site scripting vulnerability in Drupal Entity Browser, published on 2 Sep 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2026-18986?

It affects 1 product.

Linux distribution packages (1)
drupal/entity_browser Packagist:https://packages.drupal.org/8All versions2.16.0

Products include Entity Browser Project Entity Browser.

How do I fix CVE-2026-18986?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-18986 being exploited?

There is no known exploitation of CVE-2026-18986 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2026-094, GHSA-h52g-f94f-r87h.

Is CVE-2026-18986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free