Skip to main content
Mallory
UnratedVulnerability

CVE-2026-126741: Cross-site scripting in Drupal Smart Trim Twig filters

Updated 11 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-126741CWE-79

The Drupal Smart Trim module insufficiently escapes unsafe HTML processed through its smart_trim_* Twig filters, allowing cross-site scripting. Affected versions are earlier than 2.2.2 and versions 2.3.0 through 2.3.1. An attacker with permission to post content processed through an affected filter can inject script that executes in a visitor's browser. Sites using only the field formatter without the Twig filters are not vulnerable.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise confidentiality and integrity within the affected site's browser context by executing attacker-controlled script when a visitor views affected content. The vulnerability is rated Moderately critical (12/25).

Mitigation

If you can’t patch tonight, do this now.

Avoid processing user-posted content through Smart Trim's smart_trim_* Twig filters. Use only the field formatter without the Twig filters, a configuration that is not vulnerable. Restrict permissions to post content processed through the affected filters to reduce exposure.

Remediation

Patch, then assume compromise.

Upgrade affected Smart Trim 2.2.x installations to version 2.2.2 or affected 2.3.x installations to version 2.3.2.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-126741 exploited in the wild?
As of Nov 11, 2026, Mallory has no reports of CVE-2026-126741 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-126741?
As of Nov 11, 2026, Mallory has found no public exploit for CVE-2026-126741.
Is there a patch for CVE-2026-126741?
Upgrade affected Smart Trim 2.2.x installations to version 2.2.2 or affected 2.3.x installations to version 2.3.2.
Activity feed

Recent activity

1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.