{"id":"CVE-2022-40849","aliases":["EUVD-2022-7684","GHSA-m9mf-rqx6-2xpc"],"status":"published","title":"ThinkCMF Stored Cross-Site Scripting (XSS)","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":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00427,"percentile":0.37419,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-12-01T00:00:00Z","modified":"2026-10-28T02:30:23Z","fixes":[{"ecosystem":"Packagist","package":"thinkcmf/thinkcmf","fixed_in":["6.0.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"thinkcmf/thinkcmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"thinkcmf/thinkcmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.8"}]}],"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"]}],"products":[{"vendor":"thinkcmf","product":"thinkcmf"}],"references":[{"url":"https://github.com/thinkcmf/thinkcmf/issues/737","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40849","tags":["advisory"]},{"url":"https://github.com/thinkcmf/thinkcmf/commit/aba1f52bbf6c9515c545e046cec8416cbaefa496","tags":["web"]},{"url":"https://github.com/thinkcmf/thinkcmf/commit/b61636134aa57d4693967f35772200c779099740","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m9mf-rqx6-2xpc"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40849.json","tags":["advisory"]},{"url":"https://github.com/thinkcmf/thinkcmf","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-40849","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).","status":"published","published":"2022-12-01T00:00:00Z","modified":"2025-04-24T20:23:24.602Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:30.493103Z"}],"euvd":[{"id":"EUVD-2022-7684","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).","status":"published","published":"2022-12-01T00:00:00Z","modified":"2025-04-24T20:23:24Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:03.523577Z"}],"ghsa":[{"id":"GHSA-m9mf-rqx6-2xpc","title":"ThinkCMF Stored Cross-Site Scripting (XSS)","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).","status":"published","published":"2022-12-01T06:30:25Z","modified":"2024-04-25T20:57:07Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:46.667202Z"}],"nvd":[{"id":"CVE-2022-40849","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).","status":"published","published":"2022-12-01T05:15:11.89Z","modified":"2026-06-17T05:02:07.623Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:32.827264Z"}],"osv":[{"id":"CVE-2022-40849","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).","status":"published","published":"2022-12-01T00:00:00Z","modified":"2026-10-28T02:30:23.799069658Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"GHSA-m9mf-rqx6-2xpc","title":"ThinkCMF Stored Cross-Site Scripting (XSS)","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).","status":"published","published":"2022-12-01T06:30:25Z","modified":"2024-04-25T21:12:11.157973Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
