CVE-2008-5305 in Twiki
Eval injection vulnerability in TWiki before 4.2.4 allows remote attackers to execute arbitrary Perl code via the %SEARCH{}% variable.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Twiki | Twiki | ≤ 4.2.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Eval injection vulnerability in TWiki before 4.2.4 allows remote attackers to execute arbitrary Perl code via the %SEARCH{}% variable.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-5305 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-168457-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2008-12-10 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in TWiki versions prior to 4.2.4 allows remote attackers to execute arbitrary Perl code through the %SEARCH{}% variable, posing a significant risk to system integrity and confidentiality.
The vulnerability arises from improper input validation in the %SEARCH{}% variable, enabling attackers to inject and execute arbitrary Perl code on the server.
Questions
What is CVE-2008-5305?
A critical vulnerability in TWiki versions prior to 4.2.4 allows remote attackers to execute arbitrary Perl code through the %SEARCH{}% variable, posing a significant risk to system integrity and confidentiality.
What is the CVSS score for CVE-2008-5305?
CVE-2008-5305 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 4.6%.
Is CVE-2008-5305 actively exploited?
Public exploit available for CVE-2008-5305. Exploitation risk elevated.
How do I remediate CVE-2008-5305?
Priority: IMMEDIATE. Advisory: http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2008-5305 PSIRT: [email protected]
What systems are affected by CVE-2008-5305?
CVE-2008-5305 affects Twiki Twiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Twiki","product":"Twiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.