Cross-site scripting (XSS) vulnerability in the tpl_mediaFileList function in inc/template.php in DokuWiki before 2012-01-25b allows remote
Cross-site scripting (XSS) vulnerability in the tpl_mediaFileList function in inc/template.php in DokuWiki before 2012-01-25b allows remote attackers to inject arbitrary web script or HTML via the ns parameter in a medialist action to lib/exe/ajax.php.
- Published
- Jul 13, 2012
- Updated
- Jun 16, 2026
- EPSS
- 1.4% · 71th percentile
- CWE
- CWE-79
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| andreas gohr | dokuwiki | cpe:2.3:a:andreas_gohr:dokuwiki |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- andreas gohr dokuwikiup to 2012-01-25a inclusive
- andreas gohr dokuwiki2005-07-01
- andreas gohr dokuwiki2005-09-19
- andreas gohr dokuwiki2005-09-22
- andreas gohr dokuwiki2006-03-05
- andreas gohr dokuwiki2006-03-09
- andreas gohr dokuwiki2006-11-06
- andreas gohr dokuwiki2007-06-26
- andreas gohr dokuwiki2007-07-13
- andreas gohr dokuwiki2008-05-05
- andreas gohr dokuwiki2009-02-14b
- andreas gohr dokuwiki2009-12-25c
- andreas gohr dokuwiki2010-11-07a
- andreas gohr dokuwiki2011-05-25
- andreas gohr dokuwiki2011-05-25a
- andreas gohr dokuwiki2011-05-25c
- andreas gohr dokuwiki2012-01-25
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | dokuwiki | before 0.0.20120125b-1 | 0.0.20120125b-1 |
Same product
andreas gohr: all recordsOther highest-scoring records for the same primary product.
- CVE-2006-2878The spellchecker (spellcheck.php) in DokuWiki 2006/06/04 and earlier allows remote attackers to insert and execute arbitrary PHP code via "c34Monitor
- CVE-2006-5099lib/exec/fetch.php in DokuWiki before 2006-03-09e, when conf[imconvert] is configured to use ImageMagick, allows remote attackers to execute31Monitor
- CVE-2006-4674Direct static code injection vulnerability in doku.php in DokuWiki before 2006-030-09c allows remote attackers to execute arbitrary PHP code31Monitor
- CVE-2006-4675Unrestricted file upload vulnerability in lib/exe/media.php in DokuWiki before 2006-03-09c allows remote attackers to upload executable file31Monitor
- CVE-2004-2560DokuWiki before 2004-10-19, when used on a web server that permits execution based on file extension, allows remote attackers to execute arb31Monitor
- CVE-2004-2559DokuWiki before 2004-10-19 allows remote attackers to access administrative functionality including (1) Mediaselectiondialog, (2) Recent cha30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:dokuwiki | 0.0.20120125b-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.dokuwiki.org/index.php?do=details&task_id=2561
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090755.html
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090899.html
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090938.html
- secunia.com/secunia_research/2012-24/
- security.gentoo.org/glsa/glsa-201301-07.xml
- www.securityfocus.com/bid/54439
Vendor advisories and official records. Exploit/PoC links are deliberately left out.