Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. NOTE: these functions are for compiling Pug templates into JavaScript, and there would typically be no reason to allow untrusted callers.
{
"severity": "MODERATE",
"github_reviewed": true,
"cwe_ids": [
"CWE-94"
],
"nvd_published_at": "2024-05-24T06:15:08Z",
"github_reviewed_at": "2024-05-24T14:45:02Z"
}