twigphp vulnerabilities

24 published CVE records name twigphp as the vendor of an affected product, as the CNA wrote it.

Products

CVE records

CVETitleCVSSEPSSPublished
CVE-2026-46636 Twig: Sandbox method allowlist bypass via `Markup` subclass 8.7 high 0.57% 4 Sep 2026
CVE-2026-48807 Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters 7.1 high 0.37% 14 Jul 2026
CVE-2026-48806 Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys 7.1 high 0.42% 14 Jul 2026
CVE-2026-48808 Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface` 6.0 medium 0.41% 14 Jul 2026
CVE-2026-48805 Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php` 5.3 medium 0.48% 14 Jul 2026
CVE-2026-46637 Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']` 5.1 medium 0.30% 14 Jul 2026
CVE-2026-46638 Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411) 6.0 medium 0.47% 14 Jul 2026
CVE-2026-46640 Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation 8.7 high 0.64% 14 Jul 2026
CVE-2026-46629 Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments 5.3 medium 0.54% 14 Jul 2026
CVE-2026-47730 Twig: XSS in profiler HtmlDumper via unescaped template and profile names 5.1 medium 0.30% 14 Jul 2026
CVE-2026-46628 Twig: The `spaceless` filter implicitly marks its output as safe 5.1 medium 0.30% 14 Jul 2026
CVE-2026-46634 Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name 7.7 high 0.62% 14 Jul 2026
CVE-2026-46627 Twig: Sandbox resource exhaustion via unbounded `for` / `range()` 7.1 high 0.54% 14 Jul 2026
CVE-2026-46633 Twig: PHP code injection via `{% use %}` template name 8.7 high 0.77% 14 Jul 2026
CVE-2026-46639 Twig: Sandbox property and method bypass via object-destructuring assignment 7.1 high 0.39% 14 Jul 2026
CVE-2026-46635 Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects) 5.3 medium 0.33% 14 Jul 2026
CVE-2026-47732 Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points 7.1 high 0.40% 14 Jul 2026
CVE-2026-24425 Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface 8.7 high 0.72% 20 May 2026
CVE-2025-24374 Twig fixes a security issue where escaping was missing when using null coalesce operator (??) 4.3 medium 0.52% 29 Jan 2025
CVE-2024-51754 Unguarded calls to __toString() when nesting an object into an array in Twig 2.2 low 0.71% 6 Nov 2024
CVE-2024-51755 Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig 2.2 low 0.58% 6 Nov 2024
CVE-2024-45411 Twig has a possible sandbox bypass 8.6 high 1.19% 9 Sep 2024
CVE-2022-39261 Twig may load a template outside a configured directory when using the filesystem loader 7.5 high 3.51% 28 Sep 2022
CVE-2022-23614 Code injection in Twig 8.8 high 6.49% 4 Feb 2022