DokuWiki
cpe:2.3:a:dokuwiki:dokuwiki:*:*:*:*:*:*:*
- 2025-05-14a "Librarian"
A cross-site scripting (XSS) vulnerability has been identified in DokuWiki version 2025-05-14a 'Librarian'. This vulnerability allows remote attackers to execute arbitrary code by injecting malicious scripts into the search query parameter. The issue arises because the application does not properly sanitize user input, particularly in the namespace selector of the advanced search tools.
Exploitation of this vulnerability allows for unauthenticated reflected cross-site scripting, where an attacker can execute scripts in the context of the victim's session. This could lead to session hijacking, information disclosure, or other malicious activities.
To reproduce this vulnerability, send a GET request to the DokuWiki search page with a crafted query parameter that includes JavaScript code, such as a script tag. When the link is clicked, the injected script will execute, demonstrating the cross-site scripting vulnerability.
Users are advised to update DokuWiki to version 2025-05-14b or later. Versions prior to 2025-05-14a 'Librarian' may also be affected.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.