CVE-2021-41170
neoan3-apps/template is a neoan3 minimal template engine. Versions prior to 1.1.1 have allowed for passing in closures directly into the template engine. As a result values that are callable are executed by the template engine. The issue arises if a value has the same name as a method or function in scope and can therefore be executed either by mistake or maliciously. In theory all users of the package are affected as long as they either deal with direct user input or database values. A multi-step attack on is therefore plausible. Version 1.1.1 has addressed this vulnerability. Unfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS probability
- 0.52%
- CWE
- CWE-277, CWE-74
- Published
- 2021-11-08
- Last modified
- 2026-03-13
Affected products
- sroehrl neoan3-template
Weakness type
Related vulnerabilities
- CVE-2025-58437 — Coder's privilege escalation vulnerability could lead to a cross workspace compromise
- CVE-2023-33990 — Denial of Service (DoS) vulnerability in SAP SQL Anywhere
- CVE-2025-20008 — Insecure inherited permissions for some Intel(R) Simics(R) Package Manager software before version 1.12.0 may allow a pr
- CVE-2026-7891 — The VerySecureApp made by DIVD using Mendix Studio Pro 11.8.0 Beta allows unintended data exposure due to authorization
- CVE-2023-34391 — Insecure Inherited Permissions
- CVE-2020-5343 — Dell Client platforms restored using a Dell OS recovery image downloaded before December 20, 2019, may contain an insecu
- CVE-2025-64185 — Open OnDemand RPM packages create world writable locations
- CVE-2025-22448 — Insecure inherited permissions for some Intel(R) Simics(R) Package Manager software before version 1.12.0 may allow an a