All vulnerabilities

Servers and applications

GHSA-q3hm-3pg3-x54r

Page editors can still overwrite pages their page permissions deny through Flex pages forms

Severity
Medium
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
2.2.35
Weakness
Improper input validation (CWE-20)CWE-706Incorrect authorization (CWE-863)
Sources
Project advisories (GitHub)

Description

Two more ways remain for an account with limited page permissions to defeat them through a front-end Flex pages form. A front-end account that may create pages in a section can overwrite another page in that section whose own permissions deny it any change, replacing that page's content and its permissions frontmatter. And an account that a page's permissions allow only to update that page can strip the permission rules from it, and from every page that inherits them, by saving it with an empty template, after which the deletes and creates the rules denied succeed. Both need a front-end Flex pages form the account can post to and a site that relies on per-page permissions. They work with the default system.pages.type: regular, and the stock publisher can create the form page itself through the API.

This is a follow-up to GHSA-3rxf-jpgc-hwpv, which closed two ways for a Flex page save to land on a destination nobody authorized. Its fixes do not cover the two cases below.

From getgrav/grav's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
GravServers and applications · github:getgrav/grav
  • From 2.0.0 before 2.2.35

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,832Packagist, 22 Nov 2026
Total downloads (Packagist)
93,086Packagist, 22 Nov 2026
GitHub stars
15,733GitHub, 22 Nov 2026
Forks
1,428GitHub, 22 Nov 2026
Latest release
2.2.32GitHub, 22 Nov 2026
Released
20 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References