CVE-2022-40849 json
ThinkCMF Stored Cross-Site Scripting (XSS)
published 2022-12-01 3 y ago modified 2026-06-17 4 mo ago also GHSA-m9mf-rqx6-2xpc , EUVD-2022-7684
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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 in the Slideshow Management section that execute arbitrary JavaScript code on the client side, e.g., to steal the administrator's PHP session token (PHPSESSID).
Patch / fix
- packagist thinkcmf/thinkcmf 6.0.8
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/thinkcmf/thinkcmf/issues/737 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | thinkcmf/thinkcmf | <6.0.8 |
6.0.8 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/thinkcmf/thinkcmf/commit/aba1f52bbf6c9515c545e046cec8416cbaefa496
web
-
github.com
/thinkcmf/thinkcmf/commit/b61636134aa57d4693967f35772200c779099740
web
-
github.com
/thinkcmf/thinkcmf/issues/737
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-40849
advisory
-
github.com
/thinkcmf/thinkcmf
package
Sources
- CVE List CVE-2022-40849
- GitHub Advisory GHSA-m9mf-rqx6-2xpc
- NVD CVE-2022-40849
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.