CVE-2021-36129
Description
An issue was discovered in the Translate extension in MediaWiki through 1.36. The Aggregategroups Action API module does not validate the parameter for aggregategroup when action=remove is set, thus allowing users with the translate-manage right to silently delete various groups' metadata.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- MediaWiki/Translatedescription
- Range: <=1.36
Patches
Vulnerability mechanics
Root cause
"Missing input validation in the Aggregategroups Action API module allows users with the translate-manage right to delete arbitrary group metadata."
Attack vector
An attacker with the `translate-manage` right sends an API request to the Aggregategroups module with `action=remove` and an arbitrary `aggregategroup` parameter. Because the module does not validate that the supplied group belongs to the caller or that the caller is allowed to delete its metadata, the request reaches `TranslateMetadata::set` and silently deletes all rows for that group from the `translate_metadata` table. The advisory [ref_id=1] shows real-world binlog evidence of such deletions occurring on May 8, 2021, where rows for `page-Wikimedia CEE Spring 2021` (maxid, priorityforce, prioritylangs, priorityreason, transclusion, version) were removed without any corresponding log entry.
Affected code
The Aggregategroups Action API module in the Translate extension (MediaWiki through 1.36) fails to validate the `aggregategroup` parameter when `action=remove` is set. The advisory [ref_id=1] identifies the vulnerable function as `TranslateMetadata::set`, which issues `DELETE` queries against the `translate_metadata` table without verifying that the caller is authorized to remove metadata for the specified group.
What the fix does
The patch adds validation of the `aggregategroup` parameter when `action=remove` is used, ensuring that only authorized groups can have their metadata deleted. Without this check, any user with the `translate-manage` right could remove metadata for any group, including translatable page groups they do not own, causing silent data loss. The advisory [ref_id=1] confirms that the deletion was performed through `TranslateMetadata::set` and left no trace in the logging table.
Preconditions
- authThe attacker must have the 'translate-manage' user right on the MediaWiki instance.
- networkThe attacker must be able to send API requests to the Aggregategroups Action API module.
- inputThe target group must exist in the translate_metadata table.
Generated on May 30, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
2- gerrit.wikimedia.org/r/q/I3619a7e88c2eb979babb7b027d4fdbfabc0af792mitrex_refsource_MISC
- phabricator.wikimedia.org/T282932mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.