GHSA-5pm7-cp8f-p2c2: Wallabag/wallabag Wallabag/wallabag Has Multiple Cross-Site Request Vulnerability

MODERATE
CVSS 4.3
CWE-352
Published
Advisory Summary

GHSA-5pm7-cp8f-p2c2 is a MODERATE (CVSS 4.3) wallabag/wallabag has multiple cross-site request vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Wallabag/wallabag libraries in the Packagist ecosystem. The issue involves wallabag/wallabag has multiple cross-site request forgery (csrf) vulnerabilities. Remediation is available by upgrading affected packages to version 2.6.11.

GHSA-5pm7-cp8f-p2c2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5pm7-cp8f-p2c2
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Wallabag/wallabag
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-5pm7-cp8f-p2c2

To remediate this vulnerability, upgrade all affected Wallabag/wallabag dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

wallabag/wallabag fixed: 2.6.11
Upgrade wallabag/wallabag to 2.6.11
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for wallabag/wallabag

How to Check if You Are Affected

To determine whether your application is affected by GHSA-5pm7-cp8f-p2c2, inspect your project dependencies for Wallabag/wallabag:

inspect dependencies for wallabag/wallabag

Analyze the terminal output to locate any version of Wallabag/wallabag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.11), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Wallabag/wallabag, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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

GHSA-5pm7-cp8f-p2c2 Affected Wallabag/wallabag Versions

1 component(s)
Fixed Versions:
2.6.11
Product / Package Ecosystem Affected Versions Fixed Version
wallabag/wallabag
Packagist
< 2.6.11
2.6.11

References

GitHub Advisory / Wiki ADVISORY
https://github.com/wallabag/wallabag/security/advisories/GHSA-5pm7-cp8f-p2c2
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/edffef837598355c9bec433c469f1e04c35b27cb
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/ed1acf59e166a2a6bb81c52baaeabd6196feae98
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/eb8408b22fbaa6b3d78047d6203b23b7f52bbf03
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/e162408139ac9bb12e69f4d49de45ade49369c21
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/ddf2e808422e41ea55cebf2aa12eb1823c5c340a
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/d703fa6a3a75f7c3b433e8caf618bfb0a9a0ba63
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/d1e128900acc0cb8c88eb7a085c9ef5420cf0c43
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/cf49be694089667bbab9f10d52862fbdba9a89de
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/ac5b5fb379233d6e96ea14ae21b7f88761d5fa3f
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/99c8a06594d6ee7480ce4d041ccff3025b353656
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/6fa61c0f9c48d37625c92a8913b487230761fb47
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/677b2986bc78df4c7ecfed87a24593fa0553fd3c
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/5ea5115a721651f2af349e8451be8947dad9c814
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/3817010e29ed368df271cdd11ec71a46a341c673
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/27f0d94db72fb2a54b5965e4e9908a0f418f44b5
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/264f91126e2c42188b80848c881264da743b4dc1
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/0d8429dfc77b84f50060b253fd84f1c09b892226
Security Fix Commit FIX COMMIT
https://github.com/wallabag/wallabag/commit/00d0e6f951927434039465b4d3ae3dd661911172
Wallabag/wallabag Source Repository REPOSITORY
https://github.com/wallabag/wallabag

Frequently Asked Questions

What is GHSA-5pm7-cp8f-p2c2?
GHSA-5pm7-cp8f-p2c2 is a security vulnerability in Wallabag/wallabag involving wallabag/wallabag Has Multiple Cross-Site Request Forgery (CSRF) Vulnerabilities under CWE-352: Cross-Site Request Forgery (CSRF).
Which Wallabag/wallabag versions are affected?
Affected versions include releases prior to 2.6.11 across affected packages: wallabag/wallabag.
What version fixes GHSA-5pm7-cp8f-p2c2?
Upgrading to 2.6.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wallabag/wallabag affected?
Yes, wallabag/wallabag is affected in releases prior to 2.6.11. Upgrade your dependency to 2.6.11 or later.
What is the CVSS score of GHSA-5pm7-cp8f-p2c2?
GHSA-5pm7-cp8f-p2c2 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-5pm7-cp8f-p2c2?
GHSA-5pm7-cp8f-p2c2 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Packagist dependencies for GHSA-5pm7-cp8f-p2c2?
Run the dependency tree command: 'inspect dependencies for wallabag/wallabag'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5pm7-cp8f-p2c2",
  "modified" : "2025-04-09T13:09:26Z",
  "published" : "2025-04-09T13:09:26Z",
  "aliases" : [ ],
  "summary" : "wallabag/wallabag Has Multiple Cross-Site Request Forgery (CSRF) Vulnerabilities",
  "details" : "## Impact\n\nwallabag 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.\n\nThe affected endpoints allow attackers to potentially perform actions such as:\n\n* **Manage API Tokens:**\n    * `/generate-token`\n    * `/revoke-token`\n* **Manage User Rules:**\n    * `/tagging-rule/delete/{taggingRule}`\n    * `/ignore-origin-user-rule/delete/{ignoreOriginUserRule}`\n* **Modify User Configuration:**\n    * `/config/view-mode`\n* **Manage Individual Entries:**\n    * `/reload/{id}`\n    * `/archive/{id}`\n    * `/star/{id}`\n    * `/delete/{id}`\n    * `/share/{id}`\n    * `/share/delete/{id}`\n* **Manage Tags:**\n    * `/remove-tag/{entry}/{tag}`\n    * `/tag/search/{filter}`\n    * `/tag/delete/{slug}`\n* **Perform Bulk Actions:**\n    * `/mass`\n* **Change Interface Language (Login Page):**\n    * `/locale/{language}`\n\nSuccessfully 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.\n\nThis set of vulnerabilities has an aggregated CVSS v3.1 score of 4.3 (Medium).\n\n**Users are strongly advised to upgrade their wallabag instance to version 2.6.11 or later to mitigate these vulnerabilities.**\n\n## Resolution\n\nThese 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.\n\n## Credits\n\nFound, reported and fixed by @yguedidi",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "wallabag/wallabag"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/security/advisories/GHSA-5pm7-cp8f-p2c2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/edffef837598355c9bec433c469f1e04c35b27cb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/ed1acf59e166a2a6bb81c52baaeabd6196feae98"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/eb8408b22fbaa6b3d78047d6203b23b7f52bbf03"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/e162408139ac9bb12e69f4d49de45ade49369c21"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/ddf2e808422e41ea55cebf2aa12eb1823c5c340a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/d703fa6a3a75f7c3b433e8caf618bfb0a9a0ba63"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/d1e128900acc0cb8c88eb7a085c9ef5420cf0c43"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/cf49be694089667bbab9f10d52862fbdba9a89de"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/ac5b5fb379233d6e96ea14ae21b7f88761d5fa3f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/99c8a06594d6ee7480ce4d041ccff3025b353656"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/6fa61c0f9c48d37625c92a8913b487230761fb47"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/677b2986bc78df4c7ecfed87a24593fa0553fd3c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/5ea5115a721651f2af349e8451be8947dad9c814"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/3817010e29ed368df271cdd11ec71a46a341c673"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/27f0d94db72fb2a54b5965e4e9908a0f418f44b5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/264f91126e2c42188b80848c881264da743b4dc1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/0d8429dfc77b84f50060b253fd84f1c09b892226"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wallabag/wallabag/commit/00d0e6f951927434039465b4d3ae3dd661911172"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wallabag/wallabag"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-09T13:09:26Z",
    "nvd_published_at" : null
  }
}