Medium

wallabag contains Improper Authorization via export feature

  • Disclosed: 02.02.2023
  • Updated: 11.10.2026 10:22

Description

The export feature lets a user export a single entry or a set of entries in a given format (e.g. PDF, MOBI, TXT).

For example, https://yourinstance.wallabag.org/export/45.pdf will export the entry with id 45 in PDF format.

Since wallabag 2.0.0-alpha.1, this feature is vulnerable to an insecure direct object reference attack. A logged user can export any single entry without ownership validation.

This is due to a lack of access validation in the downloadEntryAction method.

You should immediately patch your instance to version 2.5.3 or higher if you have more than one user and/or having open registration.

Resolution

A user check is now done in the vulnerable method before sending the exported entry.

The Entry retrieval through a ParamConverter has also been replaced with a call to the EntryRepository in order to prevent any information disclosure through response discrepancy.

Workaround

If you are unable to update to the latest version or if you want to temporarily limit risk of exploitation, you may consider blocking requests to the endpoint /export/*.

E.g. with nginx:

nginx
    location /export {
        deny all;
    }

Credits

We would like to thank @bAuh0lz for reporting this issue through huntr.dev.

Reference: https://www.huntr.dev/bounties/3adef66f-fc86-4e6d-a540-2ffa59342ff0/

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package wallabag/wallabag >= 2.0.0-alpha.1, < 2.5.3 2.5.3

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-285
Platform
Composer
Package
wallabag/wallabag
Disclosed
02.02.2023
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-qwx8-mxxx-mg96 - CC BY 4.0

Vulnerability history: wallabag/wallabag

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
05.2022 04.2025
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Medium 12

Disclosures per year

  1. 2022: 1
  2. 2023: 9
  3. 2024: 1
  4. 2025: 1
  5. 2026: 0
Severity:
  1. Medium · 6.5 CVE-2023-0737 < 2.5.4 2.5.4
  2. Medium · 4.3 ghsa-56fm-hfp3-x3w3 >= 2.0.0-alpha.1, < 2.6.7 2.6.7
  3. Medium · 5.7 CVE-2023-4454 >= 2.0.0-alpha.1, < 2.6.3 2.6.3
  4. Medium · 6.5 CVE-2023-4455 >= 2.0.0-alpha.1, < 2.6.3 2.6.3
  5. Medium · 5.3 CVE-2023-0734 < 2.5.4 2.5.4
  6. Medium · 6.5 CVE-2023-0735 < 2.5.4 2.5.4
  7. Medium · 5.4 CVE-2023-0736 < 2.5.4 2.5.4
  8. Medium · 5.4 CVE-2023-0610 >= 2.0.0-beta.1, < 2.5.3 2.5.3
  9. wallabag contains Improper Authorization via export feature this entry
    Medium · 6.5 CVE-2023-0609 >= 2.0.0-alpha.1, < 2.5.3 2.5.3
  10. Medium · 4.0 CVE-2018-11352 >= 2.2.3, < 2.3.3 2.3.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.