{"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-08-12T03:51:33.722706736Z","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-commons","events":[{"introduced":"db112373baaa268c5a441c285a5244df194683c6"},{"fixed":"bc18e50bcf9ea40d1e25ff8d065b3178c8247f16"},{"introduced":"491547c4f74b9be58123ef22081ae7e6840a11c7"},{"fixed":"61952343490e97926364658196c63936e0b384c5"},{"introduced":"bae1e23e73cafc007e5f28b39a04bfa0acf0199c"},{"fixed":"c2eb37f9cb37dab85f673e2151a323ff0074a365"}],"database_specific":{"cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.2.4"},{"fixed":"13.10.10"},{"introduced":"14.0"},{"fixed":"14.4.6"},{"introduced":"14.5"},{"fixed":"14.9"}],"source":"CPE_RANGE"}},{"type":"GIT","repo":"https://github.com/xwiki/xwiki-platform","events":[{"introduced":"7f09d117ac2739546ab4b7bc7150b509259753ae"},{"fixed":"61a67f5cf241df692779d77367168e0762119091"},{"introduced":"d971304b0e0bf4f6dad278de89518edc17459741"},{"fixed":"4db5104960c1c13a7d2b740800e2b9d0091444d8"},{"introduced":"ab4dfeaeef13360eebcaa507bc652073aa89a427"},{"fixed":"101becab4069ae9ccdc8c2f2c4edc562645e152b"},{"fixed":"ea2e615f50a918802fd60b09ec87aa04bc6ea8e2"}],"database_specific":{"cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.2.4"},{"fixed":"13.10.10"},{"introduced":"14.0"},{"fixed":"14.4.6"},{"introduced":"14.5"},{"fixed":"14.9"}],"source":["CPE_RANGE","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26477.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}