Security mailing lists by PureSourceCode

CVE-2026-42842

MEDIUM 5.4CVSS 3.1

Grav Vulnerable to XSS via Taxonomy Field Values in Admin Panel

The form plugin for Grav adds the ability to create and use forms. Prior to 9.1.0, a Stored Cross-Site Scripting (XSS) vulnerability exists in the Grav CMS Form plugin's select field template. Taxonomy tag and category values are rendered with the Twig |raw filter in the admin panel, bypassing the global autoescape protection. An editor-level user can inject arbitrary JavaScript that executes in any administrator's browser session when they view or edit any page in the admin panel. This vulnerability is fixed in 9.1.0.

Published
11 May 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-79
Also known as
GHSA-c2q3-p4jr-c55f
Sources
NVDJSONOSV GHSA-c2q3-p4jr-c55fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist getgrav/grav < 2.0.0-beta.2 2.0.0-beta.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.