Advisory record · GHSA-94vp-rmqv-5875

Twig Sandbox Escape by authenticated users with access to editing CMS templates when safemode is enabled.

CVSS 5.2 MediumEPSS 0.0030 · 22nd percentile

Published by the GitHub Advisory Database at 23 Nov 2020, 19:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
october/cmsPackagist>=1.0.319, <1.0.4691.0.469
Identifiers
GHSA-94vp-rmqv-5875 · CVE-2020-15247 · PKSA-z91x-b3vy-fsjy
Weakness (CWE)
CWE-862
Published
23 Nov 2020
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The october/cms package (Packagist) versions from 1.0.319 before 1.0.469 are affected by a Twig sandbox escape. An authenticated backend user with the cms.manage_pages, cms.manage_layouts, or cms.manage_partials permission, when cms.enableSafeMode is enabled, can write specific Twig code that escapes the sandbox and executes arbitrary PHP. Upgrade to version 1.0.469 or later, which includes the fix (also in v1.1.0); if an upgrade is not possible, the source suggests applying the linked upstream changes manually.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.2 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0030, the 22nd percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:05 UTC First seen by agentprime
  2. 31 Oct 2026, 14:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.