Security advisory
An issue was discovered in the Widgets extension for MediaWiki through 1.35.1. Any user with the ability to edit pages within the Widgets namespace could call any static function within any class (defined within PHP or MediaWiki) via a crafted HTML comment, related to a Smarty template. For example, a person in the Widget Editors group could use \MediaWiki\Shell\Shell::command within a comment.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35625
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:50 UTC · Revision 1
Source evidence
An issue was discovered in the Widgets extension for MediaWiki through 1.35.1. Any user with the ability to edit pages within the Widgets namespace could call any static function within any class (defined within PHP or MediaWiki) via a crafted HTML comment, related to a Smarty template. For example, a person in the Widget Editors group could use \MediaWiki\Shell\Shell::command within a comment.
osv:CVE-2020-35625
Complete source record
{
"id": "2e0fe74208fd1ff686e95951cf1e89be4903fda1f7b59f3dc98d3f01998b53c9",
"url": "https://osv.dev/vulnerability/CVE-2020-35625",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35625",
"summary": "An issue was discovered in the Widgets extension for MediaWiki through 1.35.1. Any user with the ability to edit pages within the Widgets namespace could call any static function within any class (defined within PHP or MediaWiki) via a crafted HTML comment, related to a Smarty template. For example, a person in the Widget Editors group could use \\MediaWiki\\Shell\\Shell::command within a comment.",
"evidence": "osv:CVE-2020-35625",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-35625",
"aliases": [
"BIT-mediawiki-2020-35625",
"CVE-2020-35625"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wikimedia/mediawiki",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "3e26b5ff1468f98cf306575d125b29a6645bf2ea"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.35.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.35.1",
"1.35.0",
"1.35.0-rc.3",
"1.35.0-rc.2",
"1.35.0-rc.1",
"1.35.0-rc.0",
"test-hashar-for-ci",
"1.6.0",
"1.5.0beta4",
"1.5.0beta3",
"1.5.0beta2",
"1.5.0beta1",
"1.5.0alpha2",
"1.5.0alpha1",
"1.3.0beta1",
"1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35625.json"
}
}
],
"modified": "2026-10-24T10:30:45.223023672Z",
"provider": "osv",
"references": [
"https://gerrit.wikimedia.org/r/q/Ic899a8b15bc510e61cdacb5c024af2d226a2dbeb",
"https://phabricator.wikimedia.org/T269718"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35625",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436076,
"published_at": "2020-12-21T23:15:12.53+00:00"
}