{"id":"CVE-2026-135387","summary":"HortusFox: Missing CSRF validation in HortusFox AdminController enables unauthenticated state-changing actions via GET","details":"HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, state-changing AdminController routes in app/config/routes.php accept GET requests. The affected AdminController in app/controller/admin.php does not invoke Asatru\\Controller\\PostValidator to check CSRF tokens. An unauthenticated attacker can induce a signed-in administrator to open a cross-site link, causing privileged actions such as changing environment settings, deleting users or locations, managing API keys, or clearing cached data. In the tested build, a cross-site POST to /admin/user/update can promote a user immediately after login; in default Chromium the POST succeeds within the approximately two-minute Lax+POST grace period but not with an aged cookie, and other browser configurations may permit the POST. Version 6.2 mitigates the documented GET path, but no complete anti-CSRF fix is documented.","aliases":["GHSA-pjvc-wpc6-wf73"],"modified":"2026-11-24T18:46:01.475509093Z","published":"2026-11-24T16:38:11.238Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-352","CWE-650"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135387.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135387.json"},{"type":"FIX","url":"https://github.com/danielbrendel/hortusfox-web/commit/5df2ee0897a887b1cd64529064153256d7ffd1de"},{"type":"FIX","url":"https://github.com/danielbrendel/hortusfox-web/commit/a0dd6472c45e3fe877493a7458090d20d318db45"},{"type":"WEB","url":"https://github.com/danielbrendel/hortusfox-web/releases/tag/v6.2"},{"type":"ADVISORY","url":"https://github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-pjvc-wpc6-wf73"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135387"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danielbrendel/hortusfox-web","events":[{"introduced":"0"},{"fixed":"3cd8a24808a01e9f479bdd38f35959075ade701f"},{"fixed":"5df2ee0897a887b1cd64529064153256d7ffd1de"},{"fixed":"a0dd6472c45e3fe877493a7458090d20d318db45"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"6.2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5df2ee0897a887b1cd64529064153256d7ffd1de"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"a0dd6472c45e3fe877493a7458090d20d318db45"}]},{"original_tag":"v6.2","range":[{"fixed":"3cd8a24808a01e9f479bdd38f35959075ade701f"}],"source":"REFERENCES_TAG"}]}}],"versions":["v6.1","v6.0","v5.9","v5.8","v5.7","v5.6","v5.5","v5.4","v5.3","v5.2","v5.1","v5.0","v4.9","beta","v4.8","v4.7","v4.6","v4.5","v4.4","v4.3","v4.2","v4.1","v4.0","v3.9","v3.8","v3.7","v3.6","v3.5","v3.4","v3.3","v3.2","v3.1","v3.0","v2.5","v2.4","v2.3","v2.2","v2.1","v2.0","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135387.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N"}]}