CVE Watchtower

CVE-2026-126741Smart Trim

Drupal

Vulnerability Summary

Smart Trim - This module implements a field formatter for text fields that improves the Summary or Trimmed formatter built into Drupal core.

The module doesn't sufficiently escape unsafe HTML when passed through the module's Twig filter.

This vulnerability is mitigated by the fact that an attacker must have a role with the ability to post content that gets passed through a Twig template with one of the |smart_trim_* filters provided by this module.

If a site uses only use the field formatter without the Twig filter, it is not vulnerable.
Severity Level
MEDIUM
Published Date
Nov 11, 2026
Last Modified
Nov 11, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
N/A

Affected & Patched Versions

Affected Versions
  • Smart Trim <2.2.2 || >=2.3.0 <2.3.2
Patched Versions
  • If you use version 2.3.x, upgrade to Smart Trim 2.3.2.
  • If you use version 2.2.x, upgrade to Smart Trim 2.2.2.

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Smart Trim and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 11, 2026Published
  • Nov 11, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Smart Trim CVEsYou are reading CVE-2026-126741. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 18, 2026 23:01 UTC