CVE-2022-40849
PHP vulnerability analysis and mitigation

Overview

ThinkCMF version 6.0.7 is affected by Stored Cross-Site Scripting (XSS). An attacker who successfully exploited this vulnerability could inject a Persistent XSS payload into the Slideshow Management component, specifically in the Name field (NIST NVD, GitHub Issue).

Technical details

The vulnerability exists in the Slideshow Management (幻灯片管理) component where the Name (名称) field fails to properly sanitize user input, allowing the injection of HTML tags and JavaScript code. The attack can be executed through a CSRF payload that injects the XSS payload into the vulnerable field (GitHub Issue).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the administrator's browser session. This can lead to session cookie theft (PHPSESSID), potentially allowing attackers to hijack administrator sessions (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-61457MEDIUM6.1
  • PHPPHP
  • code16/sharp
NoYesOct 21, 2025
CVE-2025-60790MEDIUM5.7
  • PHPPHP
  • processwire/processwire
NoNoOct 21, 2025
GHSA-m895-2hj3-8cg9MEDIUM5.3
  • PHPPHP
  • shopware/platform
NoYesOct 21, 2025
GHSA-27c9-vp3w-6ww8MEDIUM4.9
  • PHPPHP
  • shopware/core
NoYesOct 21, 2025
GHSA-r2vg-hvjm-fg38MEDIUM4.3
  • PHPPHP
  • shopware/core
NoYesOct 21, 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