{"id":"CVE-2023-45144","aliases":["CVE-2023-45144","GHSA-h2rm-29ch-wfmh"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen login via the OAuth method, the identityOAuth parameters, sent in a GET request is vulnerable to 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. \n\nThe vulnerability is in [this part](https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58) of the code.\n\n### Patches\nThe issue has been fixed in Identity OAuth version 1.6 by https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6 . The fix is in the content of the [IdentityOAuth/LoginUIExtension](https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188) file\n\n### Workarounds\nThere are no known workarounds besides upgrading.\n\n### References\n_Are there any links users can visit to find out more?_\n\n* Original report: https://jira.xwiki.org/browse/XWIKI-20719","format":"markdown","source":"ghsa"},{"lang":"es","text":"com.xwiki.identity-oauth:identity-oauth-ui es un paquete para ayudar a crear identidades y proveedores de servicios basados en autorizaciones OAuth. Cuando un usuario inicia sesión a través del método OAuth, los parámetros de identidadOAuth enviados en la solicitud GET son vulnerables a Cross-Site Scripting (XSS) y a la inyección de XWiki syntax. Esto permite la ejecución remota de código a través de la macro groovy y, por lo tanto, afecta la confidencialidad, integridad y disponibilidad de toda la instalación de XWiki. El problema se solucionó en Identity OAuth versión 1.6. No se conocen workarounds para esta vulnerabilidad y se recomienda a los usuarios que actualicen.","source":"nvd"}],"published":"2023-10-16T20:32:50.376Z","modified":"2026-06-17T06:28:18.640Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79","CWE-94"],"affected":[{"ranges":[{"version":">= 1.0, < 1.6","status":"affected"}],"vendor":"xwikisas","product":"identity-oauth","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0","status":"affected","fixed":"1.6"}],"ecosystem":"Maven","package":"com.xwiki.identity-oauth:identity-oauth-ui","purl":"pkg:maven/com.xwiki.identity-oauth/identity-oauth-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0","fixed":"1.6"}],"vendor":"xwiki","product":"oauth_identity","cpe":"cpe:2.3:a:xwiki:oauth_identity:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20719","tags":["permissions-required","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45144","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwikisas/identity-oauth","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-09-16T14:25:24.395Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45144","url":"https://www.cve.org/CVERecord?id=CVE-2023-45144","licence":"CVE Terms of Use","modified":"2024-09-16T14:25:37.420Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h2rm-29ch-wfmh","url":"https://github.com/advisories/GHSA-h2rm-29ch-wfmh","licence":"CC-BY-4.0","modified":"2023-11-08T04:13:37.383Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45144","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45144","licence":"Public domain","modified":"2026-06-17T06:28:18.640Z"}],"updatedAt":"2026-11-25T22:58:28.833Z","epss":{"score":0.02187,"percentile":0.83149,"date":"2026-11-30T12:00:22.000Z"}}