Skip to content

Commit 6e8eebe

Browse files
authored
Merge pull request #123 from AikidoSec/intel-new-vuln-improper-validation-twig
New Vuln: Improp. Input Validation in twig (php)
2 parents 8fad9b2 + 7f0b39f commit 6e8eebe

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"package_name": "twig/twig",
3+
"patch_versions": [
4+
"3.19.0"
5+
],
6+
"vulnerable_ranges": [
7+
[
8+
"3.17.0",
9+
"3.18.0"
10+
]
11+
],
12+
"cwe": [
13+
"CWE-20"
14+
],
15+
"tldr": "Affected versions of this package are affected by a design flaw that arises from inadequate input validation, specifically relating to the improper handling of escaping and null values when processing dynamic inputs in conjunction with the `??` operator. This vulnerability exposes the system to potential exploitation by malicious actors, who may leverage the weaknesses to execute Cross-Site Scripting (XSS) or Frame Injection (Clickjacking) attacks.",
16+
"doest_this_affect_me": "You are affected if you are using a version that falls within the vulnerable range.",
17+
"how_to_fix": "Upgrade the `twig/twig` library to the patch version.",
18+
"vulnerable_to": "Improper Input Validation",
19+
"related_cve_id": "",
20+
"language": "php",
21+
"severity_class": "MEDIUM",
22+
"aikido_score": 40,
23+
"changelog": "https://github.com/twigphp/Twig/blob/3.x/CHANGELOG",
24+
"last_modified": "2025-01-30",
25+
"published": "2025-01-30"
26+
}

0 commit comments

Comments
 (0)