neoan3-apps/template
PHP DOMDocument-based minimal template engine
Activity
- Latest release
- 3y ago
- Total releases
- 18
- Cadence
- ~5 days
- Last 12 months
- 0
Reach
- Stars
- —
Details
- License
- MIT
- First release
- Feb 02, 2020
| Version | Released | |
|---|---|---|
v2.1.6
patch
| ||
v2.1.5
patch
| ||
v2.1.4
patch
| ||
v2.1.3
patch
| ||
v2.1.2
minor
| ||
2.0.2
patch
| ||
2.0.1
patch
| ||
2.0.0
major
| ||
1.2.0
minor
| ||
1.1.3
patch
| ||
1.1.1
patch
| ||
1.1.0
minor
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.5
patch
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.4
patch
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.3
patch
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.2
patch
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.1
patch
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev | ||
1.0.0
initial
1 CVE
CVE-2021-41170
GHSA-3v56-q6r6-4gcw
Nov 10, 2021
Insecure Inherited Permissions in neoan3-apps/template
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
High
None
ImpactVersions prior 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. PatchesVersion 1.1.1 has addressed this vulnerability.
WorkaroundsUnfortunately only working with hardcoded values is safe in prior versions. As this likely defeats the purpose of a template engine, please upgrade. ReferencesAs a possible exploit is relatively easy to achieve, I will not share steps to reproduce the issue for now. For more informationIf you have any questions or comments about this advisory:
Affected versions
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
Fixed in
1.1.1
References
Updated Jul 08, 2026 · Source: OSV.dev |