{"id":"GHSA-m9mf-rqx6-2xpc","aliases":["CVE-2022-40849"],"title":"ThinkCMF Stored Cross-Site Scripting (XSS)","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"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).","severity":"medium","score":5.4,"published":"2022-12-01T06:30:25.000Z","modified":"2024-04-25T21:12:11.157Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"thinkcmf/thinkcmf","sources":[{"name":"OSV · GHSA-m9mf-rqx6-2xpc","url":"https://osv.dev/vulnerability/GHSA-m9mf-rqx6-2xpc"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"6.0.8"}],"type":"ECOSYSTEM"}],"versions":["5.0-Beta","5.0-RC4","5.0.170607","5.0.170927","5.0.170927-rc","5.0.180103-beta","5.0.180115-RC","5.0.180123","5.0.180501","5.0.180508","5.0.180525","5.0.180626","5.0.180901","5.0.181212","5.0.181231","5.0.181231-beta","5.0.190111","5.0.190312","5.0.190419","5.0RC1","5.0RC2","5.0RC3","5.1.0-beta","v5.1.0","v5.1.1","v5.1.2","v5.1.3","v5.1.4","v5.1.5","v5.1.7","v6.0.0","v6.0.1","v6.0.3","v6.0.4","v6.0.5","v6.0.6","v6.0.7"],"fixed":["6.0.8"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-40849","https://github.com/thinkcmf/thinkcmf/issues/737","https://github.com/thinkcmf/thinkcmf/commit/aba1f52bbf6c9515c545e046cec8416cbaefa496","https://github.com/thinkcmf/thinkcmf/commit/b61636134aa57d4693967f35772200c779099740","https://github.com/thinkcmf/thinkcmf"],"sources":[{"name":"OSV","id":"GHSA-m9mf-rqx6-2xpc","modified":"2024-04-25T21:12:11.157973Z","url":"https://osv.dev/vulnerability/GHSA-m9mf-rqx6-2xpc"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T19:20:37.165Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}