همهٔ گزارش‌ها
متوسط

Pug allows JavaScript code execution if an application accepts untrusted input

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
<= 3.0.2
نسخهٔ اصلاح‌شده
3.0.3
npmpug
نسخه‌های متأثر
<= 3.0.2
نسخهٔ اصلاح‌شده
3.0.3

بهره‌برداری

CVE-2024-36361

احتمال بهره‌برداری در ۳۰ روز آینده: 0.49%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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.

پیوندها

گزارش‌دهندگان

  • davidrunger
  • filipeom