Descrizione
Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled.
Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| forgejo | forgejo | >= 16.0.0 < 16.0.4 | – |
| forgejo | forgejo | < 15.0.8 | – |
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
| Ambito | Impatto |
|---|---|
| Integrità | Eseguire codice o comandi non autorizzati |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 188 CVE di tipo CWE-1336, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org