{"kind": "product", "path": "vulns/debian-12/php-twig", "name": "php-twig", "product": "php-twig", "ecosystem": "Debian:12", "items": [{"id": "CVE-2026-46636", "noindex": false, "published": "2026-09-04T22:07:35.122Z", "modified": "2026-09-08T17:38:45.651Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.0057, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46636", "title": "Twig: Sandbox method allowlist bypass via `Markup` subclass", "description": "Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\\Markup. Twig\\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-64jr-qjx4-w2fh", "https://security-tracker.debian.org/tracker/CVE-2026-46636", "https://security-tracker.debian.org/tracker/DSA-6311-1"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-48805", "noindex": false, "published": "2026-07-14T21:26:34.876Z", "modified": "2026-07-16T15:09:20.665Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00483, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-48805", "title": "Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`", "description": "Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-p42q-9prx-q5wq", "https://github.com/twigphp/Twig/commit/e235cae3a1d1e23edc24df4d675f18108c6b167b", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-49981", "noindex": false, "published": "2026-07-14T21:26:00.460Z", "modified": "2026-07-21T14:57:52.032Z", "cvss": 6, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00362, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-49981", "title": "Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`", "description": "Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes between renders, allowing a later sandboxed render to reuse a template that was originally checked with a different or empty policy. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq", "https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46637", "noindex": false, "published": "2026-07-14T21:25:20.141Z", "modified": "2026-07-16T15:05:57.087Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00305, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46637", "title": "Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`", "description": "Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3", "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299", "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46638", "noindex": false, "published": "2026-07-14T21:23:50.961Z", "modified": "2026-07-15T12:48:08.554Z", "cvss": 6, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00473, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46638", "title": "Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411)", "description": "Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-7fxw-r6jv-74c8", "https://github.com/twigphp/Twig/commit/819c6a89fe0f261b8555c4f4d5e27d31984223ea", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46629", "noindex": false, "published": "2026-07-14T21:22:15.595Z", "modified": "2026-07-15T12:53:13.636Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00542, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46629", "title": "Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments", "description": "Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\\Environment. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp", "https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-47730", "noindex": false, "published": "2026-07-14T21:21:10.185Z", "modified": "2026-07-21T14:45:11.407Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00295, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-47730", "title": "Twig: XSS in profiler HtmlDumper via unescaped template and profile names", "description": "Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\\Profiler\\Dumper\\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-controlled template or profile names to inject arbitrary HTML when a browser renders the profiler dump. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-2g2g-8p8h-fgwm", "https://github.com/twigphp/Twig/commit/a5f6e8793e603ef34fa86aed2a72f9fbe0b43745", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46628", "noindex": false, "published": "2026-07-14T21:19:54.501Z", "modified": "2026-07-15T12:49:21.254Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00295, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46628", "title": "Twig: The `spaceless` filter implicitly marks its output as safe", "description": "Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is 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.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-4j38-f5cw-54h7", "https://github.com/twigphp/Twig/commit/3190b9ae12614dfd58cc5d8f394bac4708b17913", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46627", "noindex": false, "published": "2026-07-14T21:15:17.366Z", "modified": "2026-07-16T15:03:37.558Z", "cvss": 7.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00542, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46627", "title": "Twig: Sandbox resource exhaustion via unbounded `for` / `range()`", "description": "Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhaustion. This issue is addressed in version 3.26.0 by documenting that the sandbox does not protect against resource exhaustion.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-923g-j88x-j34q", "https://github.com/twigphp/Twig/commit/6bfa285e2f98651adb7aa480bf83a741d154f09f", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46633", "noindex": false, "published": "2026-07-14T21:14:24.916Z", "modified": "2026-07-16T03:55:36.587Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00688, "kev": false, "exploits": ["public-poc"], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46633", "title": "Twig: PHP code injection via `{% use %}` template name", "description": "Twig is a template language for PHP. Prior to 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 expressions into the compiled cache file. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-7p85-w9px-jpjp", "https://github.com/twigphp/Twig/commit/679447fa29083043665482ccf7d64372472621b8", "https://github.com/twigphp/Twig/commit/e9ff55f6910832428e48a35b2e0748189ad49ae3"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-46635", "noindex": false, "published": "2026-07-14T21:12:56.046Z", "modified": "2026-07-15T13:26:27.106Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00331, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46635", "title": "Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)", "description": "Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj", "https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2026-47732", "noindex": false, "published": "2026-07-14T21:12:13.071Z", "modified": "2026-07-15T13:26:33.236Z", "cvss": 7.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00402, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-47732", "title": "Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points", "description": "Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-pr2w-4gpj-cpq4", "https://github.com/twigphp/Twig/commit/447d0b2331e01b8fc6e08119ac984e1ef50caef9", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2025-24374", "noindex": false, "published": "2025-01-29T15:22:34.012Z", "modified": "2025-01-29T15:44:49.358Z", "cvss": 4.3, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "severity": "medium", "epss": 0.0029, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2025-24374", "title": "Twig fixes a security issue where escaping was missing when using null coalesce operator (??)", "description": "Twig is a template language for PHP. When using the ?? operator, output escaping was missing for the expression on the left side of the operator. This vulnerability is fixed in 3.19.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr", "https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3", "https://nvd.nist.gov/vuln/detail/CVE-2025-24374"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2024-51754", "noindex": false, "published": "2024-11-06T19:28:17.553Z", "modified": "2025-05-29T09:03:17.579Z", "cvss": 2.2, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N", "severity": "low", "epss": 0.00435, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-51754", "title": "Unguarded calls to __toString() when nesting an object into an array in Twig", "description": "Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-6377-hfv9-hqf6", "https://github.com/twigphp/Twig/commit/2bb8c2460a2c519c498df9b643d5277117155a73", "https://lists.debian.org/debian-lts-announce/2025/05/msg00039.html"], "fixes": ["3.5.1-1+deb12u3"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2024-51755", "noindex": false, "published": "2024-11-06T19:27:05.347Z", "modified": "2024-11-07T15:12:59.408Z", "cvss": 2.2, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N", "severity": "low", "epss": 0.00425, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-51755", "title": "Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig", "description": "Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh", "https://github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21", "https://nvd.nist.gov/vuln/detail/CVE-2024-51755"], "fixes": [], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "DSA-5771-1", "noindex": false, "published": "2024-09-17T00:00:00Z", "modified": "2026-03-09T02:10:30.205755Z", "cvss": null, "cvss_vector": "", "severity": "unknown", "epss": null, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/dsa-5771-1", "title": "php-twig - security update", "description": "php-twig - security update", "references": ["https://osv.dev/vulnerability/DSA-5771-1"], "fixes": ["3.5.1-1+deb12u1"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2024-45411", "noindex": false, "published": "2024-09-09T18:20:28.363Z", "modified": "2024-09-16T12:04:18.107Z", "cvss": 8.6, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H", "severity": "high", "epss": 0.00849, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-45411", "title": "Twig has a possible sandbox bypass", "description": "Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66", "https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6", "https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de"], "fixes": ["3.5.1-1+deb12u1"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2022-39261", "noindex": false, "published": "2022-09-28T00:00:00.000Z", "modified": "2025-04-23T16:54:59.321Z", "cvss": 7.5, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "severity": "high", "epss": 0.03174, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2022-39261", "title": "Twig may load a template outside a configured directory when using the filesystem loader", "description": "Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-52m2-vc4m-jj33", "https://github.com/twigphp/Twig/commit/35f3035c5deb0041da7b84daf02dea074ddc7a0b", "https://www.drupal.org/sa-core-2022-016"], "fixes": ["3.4.3-1"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}, {"id": "CVE-2022-23614", "noindex": false, "published": "2022-02-04T22:25:11.000Z", "modified": "2025-04-23T19:08:27.990Z", "cvss": 8.8, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "severity": "high", "epss": 0.08209, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2022-23614", "title": "Code injection in Twig", "description": "Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v", "https://github.com/twigphp/Twig/commit/22b9dc3c03ee66d7e21d9ed2ca76052b134cb9e9", "https://github.com/twigphp/Twig/commit/2eb33080558611201b55079d07ac88f207b466d5"], "fixes": ["3.3.8-1"], "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}]}], "total": 19, "unknown_count": 0, "release_unconfirmed": false, "page": 1, "pages": 1, "filtered": false, "noindex": false, "filters": {}, "page_size": 20, "products": [{"name": "php-twig", "path": "vulns/debian-12/php-twig", "ecosystem": "Debian:12"}], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}, {"name": "web", "path": "vulns/stack/web", "slug": "web"}, {"name": "php", "path": "vulns/stack/php", "slug": "php"}, {"name": "python", "path": "vulns/stack/python", "slug": "python"}, {"name": "node", "path": "vulns/stack/node", "slug": "node"}, {"name": "database", "path": "vulns/stack/database", "slug": "database"}, {"name": "containers", "path": "vulns/stack/containers", "slug": "containers"}, {"name": "network", "path": "vulns/stack/network", "slug": "network"}, {"name": "applications", "path": "vulns/stack/applications", "slug": "applications"}], "versions": [], "stats": {"recent": 0, "kev": 0}, "lastmod": "2026-09-08T17:38:45.651Z", "early_advisories": [], "license": "Vous pouvez librement utiliser la sélection de PatchFirst et nos ajouts (priorités, alertes précoces, textes, synthèses et agrégats) pour vos propres besoins, y compris les activités internes de votre entreprise. La revente, la distribution commerciale et la mise en miroir massive de cette sélection ou de ces ajouts nécessitent un accord écrit avec l’opérateur. Lors de toute utilisation ou publication de la sélection ou de nos ajouts, citez PatchFirst (https://patchfirst.dev/vulns/) avec ce lien vers la page du flux de votre région. Les enregistrements originaux des sources ouvertes restent soumis à leurs licences et conditions respectives. Ces conditions ne limitent pas vos droits sur les données originales, que vous pouvez obtenir directement auprès de ces sources.", "terms_url": "https://patchfirst.dev/fr/vulns/#feed-terms", "attribution": {"name": "PatchFirst", "url": "https://patchfirst.dev/vulns/"}, "source_changes": "PatchFirst sélectionne, normalise et combine les enregistrements ; des synthèses et des traductions peuvent être ajoutées. Les actualités sont accompagnées d’un lien vers la source originale dans chaque entrée.", "sources": [{"id": "cve", "name": "CVE List / CVE.org", "url": "https://www.cve.org/", "license": "CVE Terms of Use", "terms_url": "https://www.cve.org/Legal/TermsOfUse", "notice": "Copyright © 1999–2021, The MITRE Corporation. LICENSE Submissions : For all materials you submit to the Common Vulnerabilities and Exposures (CVE™), you hereby grant to The MITRE Corporation (MITRE) and all CVE Numbering Authorities (CNAs) a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute such materials and derivative works. Unless required by applicable law or agreed to in writing, you provide such materials on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. CVE Usage : MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. DISCLAIMERS ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN \"AS IS\" BASIS AND THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF TRUSTEES, OFFICERS, AGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."}, {"id": "osv", "name": "OSV", "url": "https://osv.dev/", "terms_url": "https://google.github.io/osv.dev/data/", "terms": "Les licences des bases d’origine varient ; voir le catalogue des sources."}, {"id": "kev", "name": "CISA KEV", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "license": "CC0-1.0", "terms_url": "https://github.com/cisagov/kev-data/blob/develop/LICENSE"}, {"id": "epss", "name": "FIRST EPSS", "url": "https://www.first.org/epss/", "terms_url": "https://www.first.org/epss/faq", "terms": "Évaluations publiques gratuites ; mention de la source demandée (FIRST EPSS, évaluations produites par Empirical Security)."}, {"id": "github-advisory", "name": "GitHub Advisory Database", "url": "https://github.com/advisories", "license": "CC-BY-4.0", "terms_url": "https://github.com/github/advisory-database/blob/main/LICENSE.md"}, {"id": "exploitdb", "name": "Exploit-DB", "url": "https://www.exploit-db.com/", "license": "GPL-2.0", "terms_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/LICENSE.md"}, {"id": "metasploit", "name": "Metasploit", "url": "https://github.com/rapid7/metasploit-framework", "license": "BSD-3-Clause", "terms_url": "https://github.com/rapid7/metasploit-framework/blob/master/LICENSE", "notice": "Copyright (c) 2006-2026, Rapid7, Inc.\nLicense: BSD-3-clause\n Redistribution and use in source and binary forms, with or without modification,\n are permitted provided that the following conditions are met:\n .\n * Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n .\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n .\n * Neither the name of Rapid7, Inc. nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n .\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."}, {"id": "nuclei", "name": "Nuclei Templates", "url": "https://github.com/projectdiscovery/nuclei-templates", "license": "MIT", "terms_url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/LICENSE.md", "notice": "MIT License\n\nCopyright (c) 2025 ProjectDiscovery, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."}, {"id": "linux-kernel", "name": "Linux kernel releases", "url": "https://www.kernel.org/", "license": "CC-BY-SA-4.0", "terms_url": "https://www.kernel.org/legal.html", "notice": "Copyright (C) 1997-2014 by The Linux Kernel Organization, Inc."}]}