Lucene search
+L

25 matches found

CVE
CVE
added 2022/09/28 12:0 a.m.271 views

CVE-2022-39261

Twig is affected: versions 1.x before 1.44.7, 2.x before 2.15.3, and 3.x before 3.4.3 have a vulnerability where the filesystem loader can read arbitrary files when a template name is user-controlled (e.g., @namespace/../file) due to validation bypass. The fixed releases are 1.44.7, 2.15.3, and 3...

7.5CVSS7.5AI score0.02353EPSS
Save
CVE
CVE
added 2022/02/04 10:25 p.m.244 views

CVE-2022-23614

CVE-2022-23614 — Twig sandbox bypass via sort filter . In Twig’s sandbox mode, the sort filter’s arrow parameter must be a closure; in affected versions this constraint was not properly enforced, allowing code injection of arbitrary PHP when the filter was misused (e.g., passing a function name l...

9.8CVSS9.4AI score0.08209EPSS
Save
CVE
CVE
added 2024/09/09 6:20 p.m.180 views

CVE-2024-45411

CVE-2024-45411 : Twig (PHP template engine) has a sandbox bypass vulnerability in which sandbox checks are not consistently executed, allowing user-contributed templates to bypass sandbox restrictions. The issue is fixed in Twig releases 1.44.8, 2.16.1, and 3.14.0. The vulnerability description i...

8.6CVSS8.4AI score0.00849EPSS
Save
CVE
CVE
added 2026/07/14 9:14 p.m.144 views

CVE-2026-46633

CVE-2026-46633 affects the Twig template engine for PHP. Before 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP...

9.8CVSS6.2AI score0.00642EPSS
Save
CVE
CVE
added 2019/03/23 2:31 p.m.98 views

CVE-2019-9942

CVE-2019-9942 affects the Twig PHP templating engine. The vulnerability arises from inadequate Sandbox policy enforcement, allowing a sandboxed object to be coerced to a string in some circumstances, leading to potential information disclosure. Affected versions are Twig before 1.38.0 and 2.x bef...

4.3CVSS4AI score0.01405EPSS
Save
CVE
CVE
added 2015/11/06 9:0 p.m.83 views

CVE-2015-7809

CVE-2015-7809 affects the Twig templating engine (Sensio Labs Twig) prior to version 1.20.0. When Sandbox mode is enabled, the displayBlock function in Template.php allows remote code execution via the _self variable in templates. Several connected advisories confirm the issue as a remote code ex...

6.8CVSS7.5AI score0.03398EPSS
Save
CVE
CVE
added 2026/05/20 1:45 p.m.73 views

CVE-2026-24425

Twig 2.16.x and 3.9.0–3.25.x contain a sandbox bypass via SourcePolicyInterface, allowing runtime bypass of sandbox checks when using a source policy to execute arbitrary code. The underlying issue is a runtime check that fails to use the current template source, enabling code execution if sandbo...

9.9CVSS6.2AI score0.00758EPSS
Save
CVE
CVE
added 2005/07/14 4:0 a.m.59 views

CVE-2001-1537

The CVE concerns TWIG webmail versions 2.7.4 and earlier where the default 'basic' security setting in config.php stores cleartext usernames and passwords in cookies. This could allow an attacker to obtain authentication information and gain privileges. The PT-2001-2622 entry reiterates the affec...

7.5CVSS7.2AI score0.01115EPSS
Save
CVE
CVE
added 2018/07/10 2:0 p.m.53 views

CVE-2018-13818

Twig before 2.4.4 is vulnerable to Server-Side Template Injection (SSTI) via the search_key parameter. The issue is caused by how Twig interprets the token value. Affected software is Twig versions prior to 2.4.4; remediation is to upgrade to 2.4.4 or later, or to properly wrap/validate input in ...

9.8CVSS9.5AI score0.0699EPSS
Save
CVE
CVE
added 2026/07/14 9:19 p.m.49 views

CVE-2026-46634

CVE-2026-46634 affects Twig for PHP, where versions 3.9.0–3.26.0 allow template_from_string() to synthesize a name (string_template ) that can bypass a SourcePolicyInterface sandbox, enabling a sandboxed template to call template_from_string and include an inner template without security policy e...

9.8CVSS6.1AI score0.00419EPSS
Save
CVE
CVE
added 2026/07/14 9:22 p.m.46 views

CVE-2026-46640

CVE-2026-46640 — Twig (PHP template engine) : The issue affects Twig 3.15.0 through 3.26.0 where _self.() and import-alias dynamic attribute syntax can concatenate attacker-controlled strings into a MacroReferenceExpression name, bypassing identifier validation and causing raw PHP to be emitted a...

8.8CVSS6.1AI score0.00405EPSS
Save
CVE
CVE
added 2026/07/14 9:27 p.m.41 views

CVE-2026-48808

Twig’s CVE-2026-48808 describes a sandbox bypass in the Column filter: prior to 3.27.0, the active sandbox state was passed but the current Source was not forwarded to SandboxExtension::checkPropertyAllowed(), allowing access to properties not permitted by the sandbox policy. This affects Twig te...

7.5CVSS6.1AI score0.00239EPSS
Save
CVE
CVE
added 2026/07/14 9:26 p.m.40 views

CVE-2026-48805

Twig (PHP template engine) has a sandbox state regression in deprecated internal wrappers (src/Resources/core.php) that previously failed to forward the sandbox status to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy helpers like twig_array_some(), twig_array_every()...

9.1CVSS6.1AI score0.0027EPSS
Save
CVE
CVE
added 2026/07/14 9:23 p.m.39 views

CVE-2026-46638

Twig pre-3.26.0 allowed a cached template to bypass SecurityPolicy::checkSecurity() via {% sandbox %}{% include %} without re-checking; the issue is fixed in 3.26.0. Debian advisories extend the fix to 3.27.0 for the stable release. Affected software: Twig PHP template engine; vulnerability invol...

8.1CVSS6.1AI score0.00265EPSS
Save
CVE
CVE
added 2026/07/14 9:28 p.m.37 views

CVE-2026-48806

Twig (PHP) prior to 3.27.0 is vulnerable to a Sandbox __toString() policy bypass via dynamic mapping keys in ArrayExpression. The issue allows a Stringable object used as a mapping key to invoke its __toString() without SandboxExtension::ensureToStringAllowed(), enabling potential data exposure a...

9.1CVSS6.1AI score0.00234EPSS
Save
CVE
CVE
added 2026/07/14 9:29 p.m.37 views

CVE-2026-48807

Twig: The vulnerability CVE-2026-48807 affects Twig templates in PHP prior to 3.27.0 where sandbox __toString() checks do not fully cover Traversable values passed to join/replace filters or in/not in operators, allowing contained Stringable objects to be coerced to strings without sandbox policy...

9.1CVSS6.1AI score0.00215EPSS
Save
CVE
CVE
added 2026/07/14 9:21 p.m.35 views

CVE-2026-47730

Twig: XSS in Twig\Profiler\Dumper\HtmlDumper allows attacker-controlled template/profile names to inject HTML in profiler output due to unescaped getTemplate()/getName() data. Affects Twig 3.0.0–3.26.0; fixed in 3.26.0 by escaping these values via htmlspecialchars(). No exploit details provided b...

5.4CVSS6.2AI score0.00169EPSS
Save
CVE
CVE
added 2026/07/14 9:12 p.m.34 views

CVE-2026-47732

Twig Sandbox: multiple __toString() policy bypasses via unguarded string coercion points existed prior to 3.26.0, enabling string coercion of Stringable operands through various constructs (conditional expressions, matches operator, loose comparisons, tests, template-loading tags, dynamic attribu...

7.1CVSS6.1AI score0.0036EPSS
Save
CVE
CVE
added 2026/07/14 9:22 p.m.30 views

CVE-2026-46629

Twig: twig/intl-extra memoises IntlDateFormatter and NumberFormatter in unbounded per-template arguments, causing potential unbounded memory growth in long-running environments. Affected prior to 3.26.0; fix is to upgrade to Twig 3.26.0 or later (formatter caches bounded with FIFO). Debian adviso...

6.5CVSS6.1AI score0.00302EPSS
Save
CVE
CVE
added 2026/07/14 9:12 p.m.30 views

CVE-2026-46635

Twig before 3.26.0 allows a sandbox bypass via the column filter (array_column on objects): when rendering with column in allowedFilters, object arrays passed to PHP’s array_column() read public and magic properties directly, bypassing SandboxExtension::checkPropertyAllowed(). This bypass occurs ...

5.3CVSS6.1AI score0.00297EPSS
Save
CVE
CVE
added 2026/07/14 9:15 p.m.25 views

CVE-2026-46627

CVE-2026-46627 concerns Twig, a PHP template engine. Before 3.26.0, Twig’s sandbox does not prevent a template from consuming CPU, memory, or wall-clock time even with an allow-list, allowing resource exhaustion via unbounded for/range usage. The issue is mitigated in version 3.26.0, which docume...

7.1CVSS6.1AI score0.00385EPSS
Save
CVE
CVE
added 2026/07/14 9:26 p.m.24 views

CVE-2026-49981

Twig is a template language for PHP. CVE-2026-49981 affects Twig up to version 3.26.x, where the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can be cached after sandbox state changes between renders. This can allow a later sand...

8.2CVSS6.1AI score0.00212EPSS
Save
CVE
CVE
added 2026/07/14 9:13 p.m.23 views

CVE-2026-46639

Twig 3.24.0–3.26.0 contains a sandbox bypass in object-destructuring assignment: CoreExtension::getAttribute() is called with sandboxed flag set to false, bypassing security policy checks and allowing a sandboxed template to read public properties or call public getters on objects. The issue is f...

7.1CVSS6.1AI score0.00351EPSS
Save
CVE
CVE
added 2026/07/14 9:25 p.m.21 views

CVE-2026-46637

CVE-2026-46637 concerns Twig (PHP template engine). Before 3.26.0, the filters in twig/markdown-extra (html_to_markdown, markdown_to_html) and twig/cssinliner-extra (inline_css) were registered with is_safe => [all], causing their output to be treated as safe in contexts where escaping is requ...

5.4CVSS6.1AI score0.00175EPSS
Save
CVE
CVE
added 2026/07/14 9:19 p.m.20 views

CVE-2026-46628

CVE-2026-46628 affects Twig (PHP template engine). Before 3.26.0, the deprecated spaceless filter was registered as safe for HTML, causing Twig autoescaping to emit attacker‑controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0. Affected: ...

5.4CVSS6.1AI score0.00169EPSS
Save