Skip to content
Heist/ feed
Back to feed
Critical

Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-45144
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:02 UTC · Revision 1

Source evidence

Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App

core-osv · Original source

Published 16 Oct 2023, 20:32 UTC

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.

osv:CVE-2023-45144
Complete source record
{
  "id": "6c8d408e65cc435adadfceb9f8ad8ff54074a666d98a549f8b28e8a1e376c36f",
  "url": "https://osv.dev/vulnerability/CVE-2023-45144",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App",
    "summary": "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.",
    "evidence": "osv:CVE-2023-45144",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-45144",
      "aliases": [
        "CVE-2023-45144",
        "GHSA-h2rm-29ch-wfmh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xwikisas/identity-oauth",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6b3f360123714f995d156ef368262de8bc3a1353"
                },
                {
                  "fixed": "f41901c5a01e00f9099dda289dfe79d17aa37ba7"
                },
                {
                  "fixed": "d805d3154b17c6bf455ddf5deb0a3461a3833bc6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xwiki:oauth_identity:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "fixed": "1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d805d3154b17c6bf455ddf5deb0a3461a3833bc6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "identity-oauth-1.5.3",
            "identity-oauth-1.5.2",
            "identity-oauth-1.5.1",
            "identity-oauth-1.5",
            "identity-oauth-parent-1.4.1",
            "identity-oauth-1.4",
            "identity-oauth-parent-1.4-rc1",
            "identity-oauth-parent-1.3",
            "identity-oauth-parent-1.1.2",
            "identity-oauth-parent-1.1.1",
            "identity-oauth-parent-1.1",
            "identity-oauth-parent-1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45144.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.767861160Z",
      "provider": "osv",
      "references": [
        "https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58",
        "https://jira.xwiki.org/browse/XWIKI-20719",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45144.json",
        "https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-45144",
        "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6",
        "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79",
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45144.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-45144",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521592,
  "published_at": "2023-10-16T20:32:50.376+00:00"
}