Tóm tắt nhanh
- CVE-2024-36361 là lỗ hổng mức TRUNG BÌNH (CVSS 6.8) ảnh hưởng pug, pug-code-gen.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.49%, cao hơn 42.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 3.0.3 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| pug npm | < 3.0.3
| 3.0.3
|
| pug-code-gen npm | < 3.0.3
| 3.0.3
|
Mô tả
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.
Mô tả của NVD
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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí