Every CVE Search/ Get API key

CVE-2022-23621

Missing authorization in xwiki-platform

5.5 MediumFix available

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as $xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg"). This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

0.94%Unchanged since Feb 10, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.5

Missing authorization in xwiki-platform

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as $xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg"). This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Record
CVE-2022-23621
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-862
Updated
2026-11-02
EUVDEUVD-2022-0762 5.5

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as $xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg"). This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Record
EUVD-2022-0762
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-2jhm-qp48-hv5j 5.5

Missing authorization in xwiki-platform

Impact

Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:

$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")

Patches

It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.

Workarounds

The only workaround is to give SCRIPT right only to trusted users.

References

https://jira.xwiki.org/browse/XWIKI-18870

For more information

If you have any questions or comments about this advisory:

Record
GHSA-2jhm-qp48-hv5j
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-552, CWE-862
Updated
2026-11-02
NVD 5.5

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as $xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg"). This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Record
CVE-2022-23621
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-862, CWE-552
Updated
2026-11-02
OSV 5.5

Missing authorization in xwiki-platform

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as $xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg"). This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.

Record
CVE-2022-23621
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-862
Updated
2026-11-02
OSVGHSA-2jhm-qp48-hv5j 5.5

Missing authorization in xwiki-platform

Impact

Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:

$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")

Patches

It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.

Workarounds

The only workaround is to give SCRIPT right only to trusted users.

References

https://jira.xwiki.org/browse/XWIKI-18870

For more information

If you have any questions or comments about this advisory:

Record
GHSA-2jhm-qp48-hv5j
CVSS 3.1
5.5 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-552, CWE-862
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.xwiki.platform:xwiki-platform-oldcore
Maven
13.6-rc-1 to 13.6
13.7-rc-1
org.xwiki.platform:xwiki-platform-oldcore
Maven
13.0.0 up to 13.4.3
13.4.3
org.xwiki.platform:xwiki-platform-oldcore
Maven
before 12.10.9
12.10.9
org.xwiki.platform:xwiki-platform-oldcore
Maven
13.6-rc-1 up to 13.7-rc-1
13.7-rc-1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-23621 is a medium vulnerability (CVSS 5.5) in Xwiki, published February 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in org.xwiki.platform:xwiki-platform-oldcore 13.7-rc-1.

References

MoveEnter Open