Low · 3.5 PHP packages GHSA-9ff2-p842-45wq CVE-2026-107848 PKSA-6ymc-kdpm-qx87 PKSA-8zc2-xpjt-dfrb
Contao CMS: CSRF Vulnerability Allows Backend Actions Without Token (CVE-2026-107848)
A CSRF flaw in Contao CMS (contao/core-bundle) lets an attacker trigger state-changing backend actions when a logged-in backend user visits a malicious URL, because CSRF token validation is incomplete for actions dispatched via the key parameter. Fixed versions 5.3.50 and 5.7.12 are available.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A Cross-Site Request Forgery (CSRF) vulnerability has been identified in Contao, an open source content management system. The issue affects the contao/core-bundle package and allows certain backend actions to be triggered without proper CSRF token validation, provided an authenticated backend user can be lured to a crafted URL. The vendor has released fixed versions.
What Happened
A vulnerability was identified in Contao's RequestTokenListener, which is responsible for validating the REQUEST_TOKEN used to protect backend actions against CSRF attacks. The listener only enforces token validation for POST requests, while a separate declarative GET guard only activates when an 'act' parameter is present in the request. As a result, backend actions dispatched through a 'key' parameter can be executed without a valid CSRF token.
Technical Cause
The root cause is incomplete CSRF protection coverage: token checks were implemented for POST-based actions and for GET-based actions that use the 'act' parameter, but actions routed via the 'key' parameter were not covered by either guard. This gap allows a crafted link or page, visited by an authenticated backend user, to trigger a backend action without the user's explicit consent. The vulnerability is classified as CWE-352 (Cross-Site Request Forgery).
Why It Matters
Because the vulnerability requires an authenticated backend user to visit an attacker-controlled URL (user interaction is required, and privileges are limited to what that user can already access), the practical impact is constrained. The advisory describes destructive or state-changing actions being demonstrated within the scope of modules available to the affected user, rather than privilege escalation beyond that user's existing permissions.
Who Is Affected
Sites running contao/core-bundle in the affected version ranges are impacted if they have active backend users who could be targeted with a malicious link. Exploitation requires that a logged-in backend user interact with an attacker-controlled URL; the attack is not unauthenticated and does not work remotely without this interaction.
Affected Versions
contao/core-bundle is affected from version 4.0.0 up to (but not including) 5.3.50, and separately from version 5.4.0-RC1 up to (but not including) 5.7.12.
Fixes and Mitigation
The vulnerability is fixed in contao/core-bundle versions 5.3.50 and 5.7.12. Site operators should upgrade to one of these fixed versions depending on their current release line.
Recommended Action
Update contao/core-bundle to version 5.3.50 if running the 5.3.x line, or to version 5.7.12 if running the 5.4.x through 5.7.x line. As general good practice, backend users should avoid clicking unknown or untrusted links while logged into the Contao backend until the update is applied.
PatchBriefing score
3.5 / 10 · Low
Official CVSS: 3.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
EPSS 0.0017 (3 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- contao/core-bundle ≥ 5.4.0-RC1 < 5.7.12
- vulnerable
- contao/core-bundle
- vulnerable
- contao/core-bundle >= 5.4.0-RC1, < 5.7.12
- vulnerable
- contao/core-bundle >=4.0.0,<5.3.50|>=5.4.0,<5.7.12
- vulnerable
- ≥ 5.3.50
- patched
- ≥ 5.7.12
- patched
- contao/contao >=4.0.0,<5.3.50|>=5.4.0,<5.7.12
- vulnerable
Reported fixes
The vulnerability is fixed in contao/core-bundle versions 5.3.50 and 5.7.12. Site operators should upgrade to one of these fixed versions depending on their current release line.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
OSV.dev database
-
Packagist Security Advisories registry
-
GitHub Advisory Database database
-
NVD (NIST) database
Revision history
- Generated
- Generated
- Published
- Generated