All reports
Medium

mediawiki: ContentModelChange does not check if a user has correct permissions to create and set the content model of a nonexistent page

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-30155

Probability of exploitation in the next 30 days: 1.21%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. ContentModelChange does not check if a user has correct permissions to create and set the content model of a nonexistent page.

In the mediawiki package, a user can create new page even if it matches [[MediaWiki:Titleblacklist]] restriction when using [[Special:ChangeContentModel]].