CVE-2023-40572

Source
https://cve.org/CVERecord?id=CVE-2023-40572
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40572.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-40572
Aliases
Published
2023-08-24T01:15:33Z
Modified
2026-10-24T02:47:38Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action
Details

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message ERROR foo - Script executed! appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-352"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40572.json"
}
References

Affected packages

Git / github.com/xwiki/xwiki-platform

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.2-milestone-3"
                },
                {
                    "fixed":  "14.10.9"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "15.0-rc-1"
                },
                {
                    "fixed":  "15.4-rc-1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "4b20528808d0c311290b0d9ab2cfc44063380ef7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

15.*
15.0-NA
15.1-NA
15.2-NA
15.3-NA

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40572.json"