Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.xwiki.identity-oauth/identity-oauth-ui
  4. ›
  5. CVE-2023-45144

CVE-2023-45144: Improper Control of Generation of Code ('Code Injection')

October 16, 2023 (updated October 20, 2023)

com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on OAuth authorizations. When a user logs in via the OAuth method, the identityOAuth parameters sent in the GET request is vulnerable to cross site scripting (XSS) and XWiki syntax injection. This allows remote code execution via the groovy macro and thus affects the confidentiality, integrity and availability of the whole XWiki installation. The issue has been fixed in Identity OAuth version 1.6. There are no known workarounds for this vulnerability and users are advised to upgrade.

References

  • github.com/advisories/GHSA-h2rm-29ch-wfmh
  • github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm
  • github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6
  • github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6
  • github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh
  • jira.xwiki.org/browse/XWIKI-20719
  • nvd.nist.gov/vuln/detail/CVE-2023-45144

Code Behaviors & Features

Detect and mitigate CVE-2023-45144 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 1.0 before 1.6

Fixed versions

  • 1.6

Solution

Upgrade to version 1.6 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/com.xwiki.identity-oauth/identity-oauth-ui/CVE-2023-45144.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:16 +0000.