A Cross-site Scripting (XSS) vulnerability exists in version v2024-01-05 of the indexmenu plugin when is used and enabled in Dokuwiki (Open Source Wiki Engine). A malicious attacker can input XSS payloads for example when creating or editing existing page, to trigger the XSS on Dokuwiki, which is then stored in .txt file (due to nature of how Dokuwiki is designed), which presents stored XSS.
https://github.com/samuelet/indexmenu/issues/317
https://github.com/samuelet/indexmenu
https://github.com/dokuwiki/dokuwiki
https://github.com/1s1ldur/CVE-2024-42758/blob/main/README.md