{"id":"CVE-2023-26477","summary":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui Eval Injection vulnerability","details":"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.\n","aliases":["GHSA-x2qm-r4wx-8gpg"],"modified":"2026-04-10T04:56:23.919211Z","published":"2023-03-02T17:52:40.359Z","database_specific":{"cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26477.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19757"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26477.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x2qm-r4wx-8gpg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26477"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/ea2e615f50a918802fd60b09ec87aa04bc6ea8e2#diff-e2153fa59f9d92ef67b0afbf27984bd17170921a3b558fac227160003d0dfd2aR283-R284"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"7f09d117ac2739546ab4b7bc7150b509259753ae"},{"fixed":"61a67f5cf241df692779d77367168e0762119091"}],"database_specific":{"versions":[{"introduced":"6.2.4"},{"fixed":"13.10.10"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"d971304b0e0bf4f6dad278de89518edc17459741"},{"fixed":"4db5104960c1c13a7d2b740800e2b9d0091444d8"}],"database_specific":{"versions":[{"introduced":"14.0"},{"fixed":"14.4.6"}]}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"ab4dfeaeef13360eebcaa507bc652073aa89a427"},{"fixed":"85f3a7c74a321e68aa6b99d0d3cf6fddde70aa7c"}],"database_specific":{"versions":[{"introduced":"14.5"},{"fixed":"14.9-rc-1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26477.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}