GitHub Advisoryadvisory · Packagist
GHSA-5pm7-cp8f-p2c2 wallabag/wallabag Has Multiple Cross-Site Request Forgery (CSRF) Vulnerabilities
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- wallabag/wallabag
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-352
- Reviewed
- 2025-04-09
Affected packages
• Packagist wallabag/wallabag: < 2.6.11 → fixed in 2.6.11
Description
Impact
wallabag versions prior to 2.6.11 were discovered to contain multiple Cross-Site Request Forgery (CSRF) vulnerabilities across several endpoints. An attacker could craft a malicious link or page that, if visited by a logged-in wallabag user, could trick the user's browser into performing unintended actions within their wallabag account without their consent. Additionally, one endpoint affects the login page locale setting.
The affected endpoints allow attackers to potentially perform actions such as:
• Manage API Tokens:
• `/generate-token`
• `/revoke-token`
• Manage User Rules:
• `/tagging-rule/delete/{taggingRule}`
• `/ignore-origin-user-rule/delete/{ignoreOriginUserRule}`
• Modify User Configuration:
• `/config/view-mode`
• Manage Individual Entries:
• `/reload/{id}`
• `/archive/{id}`
• `/star/{id}`
• `/delete/{id}`
• `/share/{id}`
• `/share/delete/{id}`
• Manage Tags:
• `/remove-tag/{entry}/{tag}`
• `/tag/search/{filter}`
• `/tag/delete/{slug}`
• Perform Bulk Actions:
• `/mass`
• Change Interface Language (Login Page):
• `/locale/{language}`
Successfully exploiting these vulnerabilities could lead to unauthorized modification or deletion of user data, configuration changes, token manipulation, or interface changes, depending on the specific endpoint targeted.
This set of vulnerabilities has an aggregated CVSS v3.1 score of 4.3 (Medium).
Users are strongly advised to upgrade their wallabag instance to version 2.6.11 or later to mitigate these vulnerabilities.
Resolution
These vulnerabilities have been addressed in wallabag version 2.6.11. The affected endpoints have been modified to require the HTTP POST method along with a valid CSRF token for state-changing actions, preventing attackers from forcing users' browsers to perform these actions unintentionally.
Credits
Found, reported and fixed by @yguedidi
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/wallabag/wallabag/security/advisories/GHSA-5pm7-cp8f-p2c2 web
- https://github.com/wallabag/wallabag/commit/edffef837598355c9bec433c469f1e04c35b27cb web
- https://github.com/wallabag/wallabag/commit/ed1acf59e166a2a6bb81c52baaeabd6196feae98 web
- https://github.com/wallabag/wallabag/commit/eb8408b22fbaa6b3d78047d6203b23b7f52bbf03 web
- https://github.com/wallabag/wallabag/commit/e162408139ac9bb12e69f4d49de45ade49369c21 web
- https://github.com/wallabag/wallabag/commit/ddf2e808422e41ea55cebf2aa12eb1823c5c340a web
- https://github.com/wallabag/wallabag/commit/d703fa6a3a75f7c3b433e8caf618bfb0a9a0ba63 web
- https://github.com/wallabag/wallabag/commit/d1e128900acc0cb8c88eb7a085c9ef5420cf0c43 web
- https://github.com/wallabag/wallabag/commit/cf49be694089667bbab9f10d52862fbdba9a89de web
- https://github.com/wallabag/wallabag/commit/ac5b5fb379233d6e96ea14ae21b7f88761d5fa3f web
- https://github.com/wallabag/wallabag/commit/99c8a06594d6ee7480ce4d041ccff3025b353656 web
- https://github.com/wallabag/wallabag/commit/6fa61c0f9c48d37625c92a8913b487230761fb47 web
- https://github.com/wallabag/wallabag/commit/677b2986bc78df4c7ecfed87a24593fa0553fd3c web
- https://github.com/wallabag/wallabag/commit/5ea5115a721651f2af349e8451be8947dad9c814 web
- https://github.com/wallabag/wallabag/commit/3817010e29ed368df271cdd11ec71a46a341c673 web
- https://github.com/wallabag/wallabag/commit/27f0d94db72fb2a54b5965e4e9908a0f418f44b5 web
- https://github.com/wallabag/wallabag/commit/264f91126e2c42188b80848c881264da743b4dc1 web
- https://github.com/wallabag/wallabag/commit/0d8429dfc77b84f50060b253fd84f1c09b892226 web
- https://github.com/wallabag/wallabag/commit/00d0e6f951927434039465b4d3ae3dd661911172 web
- https://github.com/wallabag/wallabag package