8.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
0.007 Low
EPSS
Percentile
80.9%
getgrav/grav is vulnerable to Server-side Template Injection(SSTI). The vulnerability exists in filterFilter
function of GravExtension.php
, because an array might omit the validation check when the parameter is a string. This enables an authenticated attacker to insert malicious templates and perform remote code execution if they have access to the the admin panel login page and page creation/update capabilities.
CPE | Name | Operator | Version |
---|---|---|---|
getgrav/grav | le | 1.7.41.2 | |
getgrav/grav | le | 1.7.41.2 |
github.com/advisories/GHSA-96xv-rmwj-6p9w
github.com/getgrav/grav/blob/1.7.40/system/src/Grav/Common/Twig/Extension/GravExtension.php#L1692-L1698
github.com/getgrav/grav/blob/1.7.40/system/src/Grav/Common/Utils.php#L1956-L2074
github.com/getgrav/grav/commit/244758d4383034fe4cd292d41e477177870b65ec
github.com/getgrav/grav/commit/71bbed12f950de8335006d7f91112263d8504f1b
github.com/getgrav/grav/commit/8c2c1cb72611a399f13423fc6d0e1d998c03e5c8
github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5
github.com/getgrav/grav/security/advisories/GHSA-96xv-rmwj-6p9w