{"kind": "product", "path": "vulns/packagist/twig%2Ftwig", "name": "twig/twig", "product": "twig/twig", "ecosystem": "Packagist", "items": [{"id": "CVE-2026-48807", "noindex": false, "published": "2026-07-14T21:29:15.934Z", "modified": "2026-07-15T12:50:42.588Z", "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.00367, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-48807", "title": "Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters", "description": "Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the sandbox policy. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-8x9c-rmqh-456c", "https://github.com/twigphp/Twig/releases/tag/v3.27.0", "https://nvd.nist.gov/vuln/detail/CVE-2026-48807"], "fixes": ["3.27.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-48806", "noindex": false, "published": "2026-07-14T21:28:08.781Z", "modified": "2026-07-15T12:47:14.623Z", "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.00418, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-48806", "title": "Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys", "description": "Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke __toString() on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed(). This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-5v5v-ww74-355v", "https://github.com/twigphp/Twig/commit/9ff41014639ef0e8eb50ac7669191c309d863105", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": ["3.27.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-48808", "noindex": false, "published": "2026-07-14T21:27:21.812Z", "modified": "2026-07-15T14:31:58.897Z", "cvss": 6, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00407, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-48808", "title": "Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`", "description": "Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg", "https://github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": ["3.27.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.27.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.27.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-46640", "noindex": false, "published": "2026-07-14T21:22:57.332Z", "modified": "2026-07-16T03:55:34.985Z", "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.00642, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-46640", "title": "Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation", "description": "Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-45vw-wh46-2vx8", "https://github.com/twigphp/Twig/commit/324fa60545694fa6abe85ded9befcb82e1066bc2", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-46634", "noindex": false, "published": "2026-07-14T21:19:17.804Z", "modified": "2026-07-29T18:26:17.523Z", "cvss": 7.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00616, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-46634", "title": "Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name", "description": "Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-24x9-r6q4-q93w", "https://github.com/twigphp/Twig/commit/1cde8f2b62463f85d47995fc25f8241cb409d915", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-46639", "noindex": false, "published": "2026-07-14T21:13:42.321Z", "modified": "2026-07-15T12:54:34.864Z", "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.00394, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-46639", "title": "Twig: Sandbox property and method bypass via object-destructuring assignment", "description": "Twig is a template language for PHP. From 3.24.0 until 3.26.0, object-destructuring assignment compiles CoreExtension::getAttribute() with the sandbox argument hardcoded to false, disabling property and method policy checks and allowing an attacker with write access to a sandboxed Twig template to read public properties or invoke public getters on objects passed to the template engine. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-mm6w-gr99-p3jj", "https://github.com/twigphp/Twig/releases/tag/v3.26.0", "https://nvd.nist.gov/vuln/detail/CVE-2026-46639"], "fixes": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "CVE-2026-24425", "noindex": false, "published": "2026-05-20T13:45:02.413Z", "modified": "2026-10-08T15:22:18.580Z", "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.00758, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-24425", "title": "Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface", "description": "Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr", "https://github.com/twigphp/Twig/releases/tag/v3.26.0", "https://www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourcepolicyinterface"], "fixes": ["3.26.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.19.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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.11.2", "3.14.1"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["3.11.2", "3.14.1"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"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": "php", "path": "vulns/stack/php", "slug": "php"}], "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": ["1.44.8", "2.16.1", "3.11.1", "3.14.0"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}, {"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}, {"id": "GHSA-7cvr-xhm5-x998", "noindex": false, "published": "2024-05-30T13:42:49Z", "modified": "2024-12-05T05:41:41.920078Z", "cvss": 5.3, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "severity": "medium", "epss": null, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/ghsa-7cvr-xhm5-x998", "title": "Twig Path Traversal vulnerability in the filesystem loader", "description": "Twig is affected by path traversal vulnerability when used with Twig_Loader_Filesystem for loading Twig templates but only if the application is using non-trusted template names (names provided by a end-user for instance).\n\nWhen affected, it is possible to go up one directory for the paths configured in the application's loader.\n\nFor instance, if the filesystem loader is configured with /path/to/templates as a path to look for templates, an attacker can force Twig to include a file stored in /path/to by prepending the path with /../ like in {% include \"/../somefile_in_path_to\" %}\n\nNote that using anything else (like ../somefile, /../../somefi", "references": ["https://github.com/fabpot/Twig/commit/3d19a2eed53570776af313593aaeb5ad62cf4980.diff", "https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/2013-04-08.yaml", "https://github.com/twigphp/Twig"], "fixes": ["1.12.3"], "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}]}], "total": 24, "unknown_count": 0, "release_unconfirmed": false, "page": 1, "pages": 2, "filtered": false, "noindex": false, "filters": {}, "page_size": 20, "products": [{"name": "twig/twig", "path": "vulns/packagist/twig%2Ftwig", "ecosystem": "Packagist"}], "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-10-08T15:22:18.580Z", "early_advisories": [], "license": "Puedes utilizar libremente la selección de PatchFirst y nuestras aportaciones (prioridades, alertas tempranas, textos, resúmenes y agregados) para tus propios fines, incluido el uso interno de tu empresa. La reventa, la distribución comercial y la creación masiva de réplicas de esta selección o de estas aportaciones requieren un acuerdo escrito con el operador. Siempre que uses o publiques la selección o nuestras aportaciones, cita a PatchFirst (https://patchfirst.dev/vulns/) con este enlace a la página del flujo de tu región. Los registros originales de fuentes abiertas siguen sujetos a sus respectivas licencias y condiciones. Estas condiciones no limitan tus derechos sobre los datos originales, que puedes obtener directamente de esas fuentes.", "terms_url": "https://patchfirst.dev/es/vulns/#feed-terms", "attribution": {"name": "PatchFirst", "url": "https://patchfirst.dev/vulns/"}, "source_changes": "PatchFirst selecciona, normaliza y combina los registros; se pueden añadir resúmenes y traducciones. Las noticias incluyen un enlace a la fuente original en cada entrada.", "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": "Las licencias de las bases originales varían; consulta el catálogo de fuentes."}, {"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": "Puntuaciones públicas gratuitas; se solicita atribución (FIRST EPSS, puntuaciones generadas por 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."}]}