grav up to 1.8.0-beta.27 special elements used in a template engine
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in grav up to 1.8.0-beta.27. Affected by this issue is some unknown functionality. Executing a manipulation can lead to improper neutralization of special elements used in a template engine. This vulnerability appears as CVE-2025-66298. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is advised.
Details
A vulnerability classified as problematic was found in grav up to 1.8.0-beta.27. This vulnerability affects an unknown function. The manipulation with an unknown input leads to a improper neutralization of special elements used in a template engine vulnerability. The CWE definition for the vulnerability is CWE-1336. 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. As an impact it is known to affect confidentiality. CVE summarizes:
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload to exploit a Server-Side Template (SST) vulnerability. Sensitive information may be contained in the configuration details. This vulnerability is fixed in 1.8.0-beta.27.
The advisory is shared for download at github.com. This vulnerability was named CVE-2025-66298 since 11/27/2025. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1221.
Upgrading to version 1.8.0-beta.27 eliminates this vulnerability. Applying the patch e37259527d9c1deb6200f8967197a9fa587c6458 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-200076). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
- 1.8.0-beta.0
- 1.8.0-beta.1
- 1.8.0-beta.2
- 1.8.0-beta.3
- 1.8.0-beta.4
- 1.8.0-beta.5
- 1.8.0-beta.6
- 1.8.0-beta.7
- 1.8.0-beta.8
- 1.8.0-beta.9
- 1.8.0-beta.10
- 1.8.0-beta.11
- 1.8.0-beta.12
- 1.8.0-beta.13
- 1.8.0-beta.14
- 1.8.0-beta.15
- 1.8.0-beta.16
- 1.8.0-beta.17
- 1.8.0-beta.18
- 1.8.0-beta.19
- 1.8.0-beta.20
- 1.8.0-beta.21
- 1.8.0-beta.22
- 1.8.0-beta.23
- 1.8.0-beta.24
- 1.8.0-beta.25
- 1.8.0-beta.26
- 1.8.0-beta.27
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Improper neutralization of special elements used in a template engineCWE: CWE-1336 / CWE-791 / CWE-790
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: grav 1.8.0-beta.27
Patch: e37259527d9c1deb6200f8967197a9fa587c6458
Timeline
11/27/2025 CVE reserved12/01/2025 Advisory disclosed
12/01/2025 VulDB entry created
12/03/2025 VulDB entry last update
Sources
Advisory: GHSA-8535-hvm8-2hmvStatus: Confirmed
CVE: CVE-2025-66298 (🔒)
GCVE (CVE): GCVE-0-2025-66298
GCVE (VulDB): GCVE-100-333928
EUVD: 🔒
Entry
Created: 12/01/2025 23:29Updated: 12/03/2025 17:20
Changes: 12/01/2025 23:29 (67), 12/02/2025 05:01 (1), 12/02/2025 08:11 (1), 12/03/2025 17:20 (11)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.