CVE-2026-29788: TSPortal: Any user can forge self-deletion requests for any account
Summary Conversion of empty strings to null allows disguising DPA reports as genuine self-deletion reports. Details Creating a DPA report about another user and leaving the evidence field empty causes that report to look like the reported user self-requested deletion of their data. Ingenuine report is not distinguishable from a genuine one.
Published Mar 27, 2026
Affected packages
miraheze/ts-portal
- Ecosystem
- Composer (PHP)
- Affected
- <= 29
- Fixed in
- 30
- Check
composer show miraheze/ts-portal
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Conversion of empty strings to null allows disguising DPA reports as genuine self-deletion reports.
Details
Creating a DPA report about another user and leaving the evidence field empty causes that report to look like the reported user self-requested deletion of their data. Ingenuine report is not distinguishable from a genuine one.
This can be prevented by disabling convertEmptyStringsToNull in the middleware, or by validating evidence in Http/Controllers/DPAController::store() to not be empty.
PoC
New DPA report -> Select "...someone who I suspect is under the age of 13" for the "The above username is..." field -> Add nothing to the "Evidence" field -> Submit
Impact
Potential unauthorized deletion of any arbitrary user's data both in the current system (TSPortal) and subsequent systems if actioned.
Credited to pskyechology, Universal-Omega.
References
- https://github.com/miraheze/TSPortal/security/advisories/GHSA-gfhq-7499-f3f2
- https://nvd.nist.gov/vuln/detail/CVE-2026-29788
- https://api.laravel.com/docs/12.x/Illuminate/Foundation/Configuration/Middleware.html#method_convertEmptyStringsToNull
- https://issue-tracker.miraheze.org/T15053
- https://github.com/advisories/GHSA-gfhq-7499-f3f2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
