CVE-2023-46243 json
Code execution via the edit action in XWiki platform
published 3y ago modified 4mo ago also GHSA-g2qq-c5j9-5w5w , EUVD-2023-2962
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to execute any content with the right of an existing document's content author, provided the user have edit right on it. A crafted URL of the form ` /xwiki/bin/edit//?content=%7B%7Bgroovy%7D%7Dprintln%28%22Hello+from+Groovy%21%22%29%7B%7B%2Fgroovy%7D%7D&xpage=view` can be used to execute arbitrary groovy code on the server. This vulnerability has been patched in XWiki versions 14.10.6 and 15.2RC1. Users are advised to update. There are no known workarounds for this issue.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-oldcore 14.10.6, 15.2-rc-1
- xwiki xwiki 14.10.6, 15.2
Is CVE-2023-46243 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
1.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-oldcore | >=15.0, <15.2-rc-1 >=1.0, <14.10.6 |
15.2-rc-1 14.10.6 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/xwiki/xwiki-platform/commit/a0e6ca083b36be6f183b9af33ae735c1e02010f4
web, patch
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-g2qq-c5j9-5w5w
web, patch, vendor-advisory
-
jira.xwiki.org
/browse/XWIKI-20385
web, issue-tracking, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-46243
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2023-46243
- GitHub Advisory GHSA-g2qq-c5j9-5w5w
- NVD CVE-2023-46243
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.