CVE-2026-75829: Improper Neutralization of Special Elements Used in a Template Engine in getgrav grav
grav-plugin-api versions before 1.0.15 fail to validate Twig content in the translate() endpoint, allowing attackers with api.pages.write permission to persist pages with process.twig enabled. Attackers can submit crafted header and content parameters to execute server-side template injection payloads that are evaluated at render time.
AI Analysis
Technical Summary
The vulnerability arises from improper neutralization of special elements used in the Twig template engine within the translate() endpoint of grav-plugin-api versions prior to 1.0.15. Attackers who have api.pages.write permission can submit crafted header and content parameters containing malicious Twig code. Because the input is not validated, these payloads are evaluated by the server when rendering the page, resulting in server-side template injection. This can lead to remote code execution or other impacts depending on the payload.
Potential Impact
Successful exploitation allows an attacker with limited write permissions to execute arbitrary server-side code via template injection, potentially compromising the server hosting the grav CMS. The CVSS 4.0 score of 8.6 reflects high impact with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
No official patch or remediation guidance is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict api.pages.write permissions to trusted users only and disable process.twig if possible to reduce exposure.
CVE-2026-75829: Improper Neutralization of Special Elements Used in a Template Engine in getgrav grav
Description
grav-plugin-api versions before 1.0.15 fail to validate Twig content in the translate() endpoint, allowing attackers with api.pages.write permission to persist pages with process.twig enabled. Attackers can submit crafted header and content parameters to execute server-side template injection payloads that are evaluated at render time.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/getgrav/grav-plugin-apiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper neutralization of special elements used in the Twig template engine within the translate() endpoint of grav-plugin-api versions prior to 1.0.15. Attackers who have api.pages.write permission can submit crafted header and content parameters containing malicious Twig code. Because the input is not validated, these payloads are evaluated by the server when rendering the page, resulting in server-side template injection. This can lead to remote code execution or other impacts depending on the payload.
Potential Impact
Successful exploitation allows an attacker with limited write permissions to execute arbitrary server-side code via template injection, potentially compromising the server hosting the grav CMS. The CVSS 4.0 score of 8.6 reflects high impact with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
No official patch or remediation guidance is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict api.pages.write permissions to trusted users only and disable process.twig if possible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-18T10:57:39.580Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a844366c6e8be03322294eb
Added to database: 08/18/2026, 11:35:02 UTC
Last enriched: 08/18/2026, 11:52:11 UTC
Last updated: 08/18/2026, 20:56:26 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.