Skip to main content

DokuWiki CVE-2025-61224

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-06 cve@mitre.org
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious link with script in q parameter
  2. Delivery
    Deliver URL to victim wiki user
  3. Exploit
    Victim opens link, server reflects input unescaped
  4. Execution
    Script executes in victim browser session
  5. Impact
    Hijack session or act as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a victim user interact by opening an attacker-supplied URL whose q parameter carries injected script against a DokuWiki 2025-05-14a 'Librarian' instance; the q parameter value is reflected without proper output encoding. The limiting factor is the required user interaction (UI:R) - the attack cannot fire without a victim clicking or loading the crafted link - and impact is confined to the victim's browser session and their DokuWiki privileges rather than the server. The available sources do not describe whether any non-default search configuration is needed; the precise rendering context of the reflected q value is not detailed in the supplied data.

Impact

This is a moderate-priority reflected cross-site scripting flaw (CWE-79) in DokuWiki 2025-05-14a 'Librarian', not a critical-severity emergency. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N, 6.5) indicates network-reachable, low-complexity, unauthenticated triggering but requires user interaction (UI:R) - a victim must click a crafted link or visit a crafted URL carrying the malicious q parameter, which materially limits mass, unattended exploitation. Note a likely signal conflict: the input scores C:H/I:N/A:N with scope unchanged (S:U), which is atypical for reflected XSS; such issues are more commonly rated with a scope change and low confidentiality/integrity impact, so treat the C:H rating as questionable and verify against the vendor issue. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact values were provided, so probabilistic and automation signals are absent; the only priority signal is the vuln.today 'this_month' decision label, which is consistent with a real-but-not-urgent reflected XSS. A public PoC reference exists (a vulnerability-research GitHub repository plus the upstream DokuWiki issue #4512), but it is not verified as working exploit code and there is no evidence of active exploitation. Overall: a genuine, fixable web vulnerability worth patching on a normal cycle, not a drop-everything emergency, with the caveat that the high confidentiality rating and 'RCE' tag overstate the real impact of a browser-side XSS.

Exploit ScenarioDerived

An attacker crafts a URL for a DokuWiki search/query that embeds malicious script in the q parameter and sends it to a logged-in wiki user (for example via email or chat). When the victim opens the link, the reflected input is rendered unescaped and the script runs in the victim's browser session, potentially stealing session cookies or performing actions as that user. A public PoC reference exists (GitHub research repo and DokuWiki issue #4512) but is not verified as working exploit code.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Reflected cross-site scripting in DokuWiki 2025-05-14a 'Librarian'[56.1] allows remote attackers to execute script in a victim's browser session through a crafted q parameter. The victim must open an attacker-supplied URL for the payload to run, and the impact is confined to that user's browser and DokuWiki privileges rather than the server; no public exploit identified at time of analysis, although a vulnerability-research repository is referenced and is not described as verified working exploit code. The independently assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, making this a moderate-priority issue rather than a critical emergency.

RemediationAI

No exact vendor-released patched version is identified in the supplied data; review DokuWiki issue 4512 and the linked CVE research repository for the vendor's fix or update guidance, and upgrade to a release that includes the q-parameter output-encoding correction once confirmed. As an interim control, avoid opening unsolicited DokuWiki URLs containing q parameters and, where operationally acceptable, restrict or disable the affected search functionality to reduce exposure, recognizing that this removes search capability. Because the flaw is reflected XSS, filtering only the client side is insufficient; the q value must be correctly encoded in the server-rendered page.

Affected ProductsAI

DokuWiki 2025-05-14a 'Librarian'[56.1] is the affected release according to the CVE description. No CPE identifiers or additional affected version ranges are included in the supplied data. Reference advisories are the DokuWiki issue at https://github.com/dokuwiki/dokuwiki/issues/4512 and the vulnerability-research repository at https://github.com/MarioTesoro/vulnerability-research/tree/main/CVE-2025-61224.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DokuWiki is a PHP-based wiki platform; CVE-2025-61224 is a CWE-79 cross-site scripting flaw in which the q parameter is reflected without proper output encoding. Because the attack is reflected, the script executes in the context of the victim's DokuWiki origin when the victim loads a crafted URL, which can expose session data or perform actions with the victim's privileges. The supplied sources do not detail the precise rendering context or whether any non-default search configuration is required; although the description and tags mention arbitrary code/RCE, the assessed impact is browser-side script execution, not server-side remote code execution, and no CPE strings are provided.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 6.1 MEDIUM

Remote, low-complexity, no privileges, but victim must open a crafted link (UI:R); reflected XSS crosses into the browser context (S:C) with low confidentiality/integrity impact and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Cross Site Scripting vulnerability in DokuWiki 2025-05-14a 'Librarian'[56.1] allows a remote attacker to execute arbitrary code via the q parameter

Threat Intelligence Overview

EPSS Score
1.5%
Top 26% exploitable
Prevalence
Medium
popular open-source wiki, common but not universally deployed
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy