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

CVE-2023-29507: org.xwiki.platform:xwiki-platform-oldcore makes Incorrect Use of Privileged APIs with DocumentAuthors

April 12, 2023 (updated February 6, 2025)

The Document script API returns directly a DocumentAuthors allowing to set any authors to the document, which in consequence can allow subsequent executions of scripts since this author is used for checking rights. Example of such attack: {{velocity}} $doc.setContent('{{velocity}}$xcontext.context.authorReference{{/velocity}}') $doc.authors.setContentAuthor('xwiki:XWiki.superadmin') $doc.getRenderedContent() {{/velocity}}

References

  • github.com/advisories/GHSA-pwfv-3cvg-9m4c
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/commit/905cdd7c421dbf8c565557cdc773ab1aa9028f83
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-pwfv-3cvg-9m4c
  • jira.xwiki.org/browse/XWIKI-20380
  • nvd.nist.gov/vuln/detail/CVE-2023-29507

Code Behaviors & Features

Detect and mitigate CVE-2023-29507 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 14.4.1 before 14.4.7, all versions starting from 14.5 before 14.10

Fixed versions

  • 14.10
  • 14.4.7

Solution

Upgrade to versions 14.10, 14.4.7 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-648: Incorrect Use of Privileged APIs

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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