CVE-2023-37302
PHP vulnerability analysis and mitigation

Overview

An issue was discovered in SiteLinksView.php in Wikibase in MediaWiki through 1.39.3, identified as CVE-2023-37302. The vulnerability involves a Cross-Site Scripting (XSS) attack vector through a crafted badge title attribute. This security flaw was disclosed on June 30, 2023, affecting MediaWiki installations running version 1.39.3 and earlier (NVD).

Technical details

The vulnerability stems from improper escaping in two components: the SiteLinksView.php file and the wbTemplate function in resources/wikibase/templates.js. Specifically, the issue relates to inadequate handling of quotes within title attributes. The vulnerability has been assigned a CVSS v3.1 Base Score of 6.1 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating a network-accessible vulnerability with low attack complexity that requires user interaction (NVD).

Impact

The vulnerability allows attackers to execute cross-site scripting attacks through crafted badge title attributes. This could lead to unauthorized access to sensitive information and potential manipulation of user sessions. The CVSS scoring indicates that both confidentiality and integrity impacts are Low, while there is no impact on availability (NVD).

Mitigation and workarounds

The vulnerability has been addressed through patches available in the Wikimedia Gerrit repository. Users are advised to update their MediaWiki installations to versions newer than 1.39.3 (Gerrit Patch, Gerrit Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management