Description
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.
Remediation
References
Related Vulnerabilities
IBM WebSEAL Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2018-1886)
WordPress Plugin WordPress-Amazon-Associate (WPAA) Cross-Site Scripting (2.0)
Oracle JRE CVE-2022-21618 Vulnerability (CVE-2022-21618)
MediaWiki Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2014-9276)
WordPress Plugin Hover Effects Builder Free Cross-Site Scripting (1.0.3)