Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-859x-p6jp-rc2w

MEDIUM

GHSA-859x-p6jp-rc2w is a medium-severity (CVSS 5.4) CWE-863 vulnerability in org.xwiki.platform:xwiki-platform-rendering-macro-context. 2 public exploit references exist, so weaponization risk is real. O3 Security confirms whether GHSA-859x-p6jp-rc2w is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

xwiki contains Incorrect Authorization

Also known asCVE-2023-26056
Published
Mar 3, 2023
Updated
Nov 8, 2023
Affected
3 pkgs
Patched
3 / 3
Exploits
2 known

Blast Radius

3 pkgs affected
org.xwiki.platform:xwiki-platform-rendering-macro-contextorg.xwiki.platform:xwiki-platform-rendering-macro-contextorg.xwiki.platform:xwiki-platform-rendering-macro-context

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Impact

It's possible to execute a script with the right of another user (provided the target user does not have programming right).

For example, the following:

{{context document="xwiki:XWiki.userwithscriptright" transformationContext="document"}}{{velocity}}Hello from Velocity!{{/velocity}}{{/context}}

written by a user not having script right (for example in the user's profile) should produce an error (the user is not allowed to write scripts). However, because of the vulnerability, if the author of the document "xwiki:XWiki.userwithscriptright" has script right (but not programming right) the script will be executed with as if it was written by the target user.

Patches

The problem has been patched in XWiki 14.8RC1, 14.4.5 and 13.10.10.

Workarounds

There's no workaround for this issue.

References

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

For more information

If you have any questions or comments about this advisory:

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-context3.0-milestone-1&&< 13.10.1013.10.10
Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-context14.0-rc-1&&< 14.4.514.4.5
Mavenorg.xwiki.platform:xwiki-platform-rendering-macro-context14.5&&< 14.8-rc-114.8-rc-1
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-rendering-macro-context. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.xwiki.platform:xwiki-platform-rendering-macro-context to 13.10.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-859x-p6jp-rc2w is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-859x-p6jp-rc2w is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-859x-p6jp-rc2w. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Impact It's possible to execute a script with the right of another user (provided the target user does not have programming right). For example, the following: ``` {{context document="xwiki:XWiki.userwithscriptright" transformationContext="document"}}{{velocity}}Hello from Velocity!{{/velocity}}{{/context}} ``` written by a user not having script right (for example in the user's profile) should produce an error (the user is not allowed to write scripts). However, because of the vulnerability, if the author of the document "xwiki:XWiki.userwithscriptright" has script right (but not prog
O3 Security · Impact-Aware SCA

Is GHSA-859x-p6jp-rc2w in your dependencies?

O3 detects GHSA-859x-p6jp-rc2w across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.