Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-7pgw-q3qp-6pgq
No affected components available
Summary
Several #dpl parameters can leak usernames that have been hidden using revision deletion, suppression, or the hideuser block flag.
Details
The parameters adduser, addauthor, and addlasteditor output the page creator or last editor using the %USER% placeholder. These display the actual username, even when that name has been hidden using revision deletion, suppression (oversight), or hideuser.
The %CONTRIBUTOR% placeholder, used with addcontribution, behaves similarly and also reveals hidden usernames.
In addition, the following parameters can expose suppressed usernames when combined with %USER% or similar output placeholders:
lastrevisionbeforeallrevisionsbeforefirstrevisionsinceallrevisionssince
These parameters reference specific revisions and allow output of user-related metadata. If a username has been hidden from those revisions, it may still appear in the output.
Further, the parameters createdby, notcreatedby, modifiedby, notmodifiedby, lastmodifiedby, and notlastmodifiedby accept usernames as input. When the correct (suppressed) username is used, the query may return matching pages or edits. This can reveal the presence and association of a hidden identity, even if not displayed directly. However, this is a more indirect exposure than the output parameters mentioned above.
Proof of Concept
- Create a page while logged in as a user.
- Revision delete or suppress the username from the page history.
- Use a DPL query with one of the affected parameters.
- The output reveals the hidden username.
Example
The following query reveals the suppressed username Example user:
{{#dpl:
| title = File:Example.png
| addauthor = true
| format = ,%USER%,,
}}
Similar behavior occurs using parameters like lastrevisionbefore with %USER% in the format string.
Impact
This issue causes the exposure of usernames that were intentionally hidden by administrators. It directly undermines revision deletion, user suppression, and block-related privacy measures. In some cases, usernames can be revealed both directly through output and indirectly through query behavior.
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker does not need any special privileges or access rights. No user interaction is needed for the attacker to exploit this vulnerability.
Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard