CVE-2020-25915
PHP vulnerability analysis and mitigation

Overview

Cross Site Scripting (XSS) vulnerability exists in UserController.php in ThinkCMF version 5.1.5, which allows attackers to execute arbitrary code via crafted user_login parameter. The vulnerability was discovered and reported on September 17, 2020 (GitHub Issue).

Technical details

The vulnerability exists in the admin controller (vendor/thinkcmf/cmf-app/src/admin/controller/UserController.php) where there is insufficient filtering of user POST requests. Specifically, the code directly inserts or updates POST data into the database without proper sanitization at line 138 ($result = DB::name('user')->insertGetId($_POST)) and line 221 ($result = DB::name('user')->update($_POST)). The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows attackers to store and execute malicious JavaScript code in the user management section. When other users view the affected pages, the stored malicious code executes in their browsers, potentially leading to session hijacking, credential theft, or other client-side attacks (GitHub Issue).

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-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 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