Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-oldcore
  4. ›
  5. CVE-2023-40572

CVE-2023-40572: Cross-Site Request Forgery (CSRF)

August 23, 2023

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.

References

  • github.com/advisories/GHSA-4f8m-7h83-9f6m
  • github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m
  • jira.xwiki.org/browse/XWIKI-20849

Code Behaviors & Features

Detect and mitigate CVE-2023-40572 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.2-milestone-3 before 14.10.9, all versions starting from 15.0-rc-1 before 15.4-rc-1

Fixed versions

  • 14.10.9
  • 15.4-rc-1

Solution

Upgrade to versions 14.10.9, 15.4-rc-1 or above. *Note*: 15.4-rc-1 may be an unstable version. Use caution.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.xwiki.platform/xwiki-platform-oldcore/CVE-2023-40572.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.