{"id":"CVE-2023-45144","published":"2023-10-16T20:32:50Z","modified":"2024-09-16T14:25:37Z","title":"Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App","vendor":"xwikisas","product":"identity-oauth","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01235,"percentile":0.69775,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20719","tags":["x_refsource_MISC"]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":13.96},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"xwikisas","affectedVersions":[{"vendor":"xwikisas","product":"identity-oauth","versions":[">= 1.0, < 1.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-16T14:25:24.395705Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.xwiki.identity-oauth:identity-oauth-ui","vulnerableRanges":[">=1.0, <1.6"],"patched":["1.6"],"from":["GHSA-h2rm-29ch-wfmh"],"provenance":"source"}],"summary":{"text":"The OAuth login flow of the identity-oauth package (com.xwiki.identity-oauth:identity-oauth-ui) for XWiki, published by xwikisas, fails to escape the identityOAuth parameters in the login GET request, enabling cross-site scripting and XWiki syntax injection. An unauthenticated attacker who can get a user to open a crafted login URL can achieve remote code execution through the groovy macro, with the potential to compromise the confidentiality, integrity and availability of the entire XWiki installation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:31Z"},"euvd":{"id":"EUVD-2023-2744","exploited":false,"provenance":"source"}}