Description
An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.
Remediation
References
Related Vulnerabilities
WordPress Plugin WordPress Download Manager Cross-Site Scripting (2.9.51)
Moodle Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2024-34008)
Apache Tomcat Other Vulnerability (CVE-2002-1148)
Jenkins Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2017-1000398)
Oracle Database Server CVE-2009-1994 Vulnerability (CVE-2009-1994)