{"id":"CVE-2008-4811","aliases":["DSA-1691-1","EUVD-2008-4790","GHSA-w343-xc9v-r5ww"],"status":"published","title":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and...","description":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01644,"percentile":0.76594,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2008-10-31T17:18:00Z","modified":"2026-06-16T22:58:35Z","affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.3-2+etch1"}]}],"versions":["1.6.3-2"],"bundled":9}],"products":[{"vendor":"smarty","product":"smarty"}],"references":[{"url":"http://secunia.com/advisories/32329","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46406","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31862","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1691","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://securityvulns.ru/Udocument746.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/25/2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4811"},{"url":"https://github.com/advisories/GHSA-w343-xc9v-r5ww"}],"sources":{"cve":[{"id":"CVE-2008-4811","description":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character.","status":"published","published":"2008-10-31T17:18:00Z","modified":"2024-08-07T10:31:27.587Z","updated_at":"2026-11-02T14:34:46.950176Z"}],"euvd":[{"id":"EUVD-2008-4790","description":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character.","status":"published","published":"2008-10-31T17:18:00Z","modified":"2024-08-07T10:31:27Z","updated_at":"2026-11-03T01:38:45.934665Z"}],"ghsa":[{"id":"GHSA-w343-xc9v-r5ww","title":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and...","description":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character.","status":"published","published":"2022-05-17T02:18:59Z","modified":"2023-01-27T05:04:33Z","updated_at":"2026-11-02T14:42:29.387682Z"}],"nvd":[{"id":"CVE-2008-4811","description":"The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character.","status":"published","published":"2008-10-31T18:09:08.57Z","modified":"2026-06-16T22:58:35.26Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:29.223028Z"}],"osv":[{"id":"DSA-1691-1","title":"moodle - several vulnerabilities","status":"published","published":"2008-12-22T00:00:00Z","modified":"2026-03-09T01:01:40.529427Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
