NetSight
high8.8

CVE-2026-75574

The Grav Email plugin (getgrav/grav-plugin-email) before 4.2.2 renders page-editor-controlled Email action parameters as unsandboxed Twig templates.

Impact

The Grav Email plugin (getgrav/grav-plugin-email) before 4.2.2 renders page-editor-controlled Email action parameters as unsandboxed Twig templates. An authenticated remote user with only api.access and api.pages.write permissions can place a Twig expression in header.form.process.email.body, publish the page, and submit the form to execute an arbitrary operating-system command as the account running PHP.

Affected products

ProductAffected versions
Grav Email Plugin (Getgrav/Grav-Plugin-Email)
before 4.2.2

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References