CVE-2010-3841

medium
Published 2010-10-18 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.3

Description

Multiple cross-site scripting (XSS) vulnerabilities in lib/TWiki.pm in TWiki before 5.0.1 allow remote attackers to inject arbitrary web script or HTML via (1) the rev parameter to the view script or (2) the query string to the login script.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-34842 webapps php verified
DOUHINE Davy ยท 2010-10-14

TWiki 5.0 - '/bin/view?rev' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.
EDB-34843 webapps php verified text ยท 1 KB
DOUHINE Davy ยท 2010-10-14

TWiki 5.0 - bin/login Multiple Cross-Site Scripting Vulnerabilities

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/44103/info
 
TWiki is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
 
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
 
Versions prior to TWiki 5.0.1 are vulnerable. 

GET /twiki/bin/login?origurl=&ANYTHING%27%3E%3Cscript%3Ealert%28Hello%29%3C/script%3E

Application impact

VendorProductVersionsFixed
twikitwiki{"endIncluding":"5.0.0"}
twikitwiki4.0.0
twikitwiki4.0.1
twikitwiki4.0.2
twikitwiki4.0.3
twikitwiki4.0.4
twikitwiki4.0.5
twikitwiki4.1.0
twikitwiki4.1.1
twikitwiki4.1.2
twikitwiki4.2.2
twikitwiki4.2.3
twikitwiki4.2.4
twikitwiki4.3.0
twikitwiki4.3.1
twikitwiki4.3.2
twikitwiki2000-12-01
twikitwiki2001-09-01
twikitwiki2001-12-01
twikitwiki2003-02-01
twikitwiki2004-09-01
twikitwiki2004-09-02
twikitwiki2004-09-03
twikitwiki2004-09-04

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.