Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-40849

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-40849
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:31 UTC · Revision 1

Source evidence

CVE-2022-40849

core-osv · Original source

Published 1 Dec 2022, 00:00 UTC

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).

osv:CVE-2022-40849
Complete source record
{
  "id": "1bee6793458d0528ea60404377b307dd5c8a5f25365c8724a4c5558e15c4fcd8",
  "url": "https://osv.dev/vulnerability/CVE-2022-40849",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-40849",
    "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).",
    "evidence": "osv:CVE-2022-40849",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-40849",
      "aliases": [
        "CVE-2022-40849",
        "GHSA-m9mf-rqx6-2xpc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/thinkcmf/thinkcmf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0e1f4fa290b4ef41aed04586eac3afb5774cbc97"
                },
                {
                  "last_affected": "0e1f4fa290b4ef41aed04586eac3afb5774cbc97"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:thinkcmf:thinkcmf:6.0.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.7"
                      },
                      {
                        "last_affected": "6.0.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.7",
            "v6.0.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-40849.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.799069658Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40849.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-40849",
        "https://github.com/thinkcmf/thinkcmf/issues/737"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40849.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-40849",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490298,
  "published_at": "2022-12-01T00:00:00+00:00"
}