{"id":"CVE-2026-63000","aliases":["CVE-2026-63000","GHSA-m8r3-22v6-g877"],"related":[],"kind":"vulnerability","state":"published","title":"REDAXO: Missing CSRF Protection on Package Update Action Allows Forced Addon Updates","summary":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"REDAXO is a PHP-based content management system. Prior to 5.21.2, rex_api_install_package_update in redaxo/src/addons/install/lib/api/api_package_update.php inherits the false default from rex_api_function::requiresCsrfProtection() instead of requiring a CSRF token. An unauthenticated attacker can cause a logged-in administrator's browser to request a selected package update from the configured REDAXO package server, changing installed addon code or disrupting the site without the administrator's intent. This issue is fixed in version 5.21.2.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe `rex_api_install_package_update` API function (`install` addon) does not override `requiresCsrfProtection()`, which defaults to `false` in the base class `rex_api_function`. Any authenticated admin can therefore be tricked via a CSRF attack into silently triggering a package update from the REDAXO package server.\n\n### Details\n**File:** `redaxo/src/core/lib/api_function.php:277-280`\n```php\nprotected function requiresCsrfProtection()\n{\n    return false;  // DEFAULT — subclasses must opt in\n}\n```\n\n**File:** `redaxo/src/addons/install/lib/api/api_package_update.php:8-39`\n```php\nclass rex_api_install_package_update extends rex_api_function\n{\n    public function execute()\n    {\n        if (!rex::getUser()?->isAdmin()) {\n            throw new rex_api_exception('You do not have the permission!');\n        }\n        $addonkey = rex_request('addonkey', 'string');\n        $fileId = rex_request('file', 'int');\n        $installer = new rex_install_package_update();\n        // ... downloads and installs $addonkey version $fileId from redaxo.org\n    }\n    // requiresCsrfProtection() NOT overridden — defaults to false\n}\n```\n\nFor comparison, `rex_api_install_package_add` and `rex_api_install_package_delete` both correctly return `true`. Only `rex_api_install_package_update` is missing this.\n\n### PoC\n```html\n<!-- Attacker-controlled page -->\n<img src=\"https://victim-redaxo.example.com/index.php?page=install/packages&rex-api-call=install_package_update&addonkey=some_addon&file=42\" />\n```\nWhen an authenticated admin visits this page, the request is automatically made with their session cookie, causing `some_addon` to be updated to version `file_id=42`.\n\n### Impact\nAn attacker who can lure an admin to a malicious page can force-install specific addon versions. If combined with a supply-chain compromise of a package on redaxo.org, or by targeting a downgrade to a known-vulnerable version, this becomes a remote code execution vector. Even without supply-chain compromise, it can be used to disrupt the site by forcing unwanted updates.\n\n### Fix\nAdd `requiresCsrfProtection()` to `rex_api_install_package_update`:\n```php\nprotected function requiresCsrfProtection()\n{\n    return true;\n}\n```","format":"markdown","source":"ghsa"}],"published":"2026-09-23T14:08:42.402Z","modified":"2026-10-19T20:35:09.623Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"< 5.21.2","status":"affected"}],"vendor":"redaxo","product":"core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.21.2"}],"ecosystem":"Packagist","package":"redaxo/source","purl":"pkg:composer/redaxo/source","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.21.2"}],"vendor":"redaxo","product":"redaxo","cpe":"cpe:2.3:a:redaxo:redaxo:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/redaxo/core/security/advisories/GHSA-m8r3-22v6-g877","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redaxo/core/pull/6579","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redaxo/core/commit/a13abbffbad4fdea46a4edc86cdba3335ca9e8f3","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redaxo/core/releases/tag/5.21.2","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redaxo/core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-29T01:56:03.005Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63000","url":"https://www.cve.org/CVERecord?id=CVE-2026-63000","licence":"CVE Terms of Use","modified":"2026-09-29T01:56:35.810Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m8r3-22v6-g877","url":"https://github.com/advisories/GHSA-m8r3-22v6-g877","licence":"CC-BY-4.0","modified":"2026-09-23T14:15:04.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63000","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63000","licence":"Public domain","modified":"2026-10-19T20:35:09.623Z"}],"updatedAt":"2026-11-25T22:59:40.624Z","epss":{"score":0.00149,"percentile":0.04309,"date":"2026-12-01T12:00:22.000Z"}}