Advisory

GHSA-gfhq-7499-f3f2

Also known as: CVE-2026-29788

Summary

TSPortal: Any user can forge self-deletion requests for any account

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-27 15:37 UTC
Modified
2026-04-09 05:21 UTC

Affected packages and fixes

miraheze/ts-portal

Packagist · All systems

Affected

  • introduced 0, fixed 30 (ecosystem)

Fixed versions

30

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences