Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-42758 PoC — DokuWiki 安全漏洞

Source
Associated Vulnerability
Title:DokuWiki 安全漏洞 (CVE-2024-42758)
Description: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.
Description
CVE-2024-42758 - Dokuwiki (indexmenu plugin) - XSS Vulnerability
Readme
# CVE-2024-42758

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-42758

Vulnerable Dokuwiki page:
doku.php?id=[page_name]

Vulnerable Payload
<script>alert('XSS')</script>

![image](https://github.com/user-attachments/assets/beeed529-c5f8-4d14-83b7-55e4df07a83a)

![image](https://github.com/user-attachments/assets/e3895d64-8f2b-4b86-ae44-275c9b315213)

![image](https://github.com/user-attachments/assets/a791fd07-a848-4c07-a9ae-99bf2c525429)

Discovered by Antun Matija Kriskovic, July 2024
File Snapshot

[4.0K] /data/pocs/e2cd6c3aa4133cc5536760171b5b0f3e3df1f484 └── [ 899] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →