CVE-2006-6942 Cross-site Scripting
No CVSS score yet. EPSS 3.3% estimated probability of exploitation activity in the next 30 days.
On this page
Multiple cross-site scripting (XSS) vulnerabilities in PhpMyAdmin before 2.9.1.1 allow remote attackers to inject arbitrary HTML or web script via (1) a comment for a table name, as exploited through (a) db_operations.php, (2) the db parameter to (b) db_create.php, (3) the newname parameter to db_operations.php, the (4) query_history_latest, (5) query_history_latest_db, and (6) querydisplay_tab parameters to (c) querywindow.php, and (7) the pos parameter to (d) sql.php.
- EPSS
- 3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-7
- Vendor advisory: http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-7
Ask an AI about this CVE
Show the prompt
Explain CVE-2006-6942 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2006-6942?via=ask-ai-copy and https://cve.bz/cve/CVE-2006-6942?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2006-6942 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| phpmyadmin:phpmyadmin | through 2.9.1 |
| phpmyadmin:phpmyadmin | 2.9.0 |
| phpmyadmin:phpmyadmin | 2.9.0.1 |
| phpmyadmin:phpmyadmin | 2.9.0.2 |
| phpmyadmin:phpmyadmin | 2.9.0.3 |
| phpmyadmin:phpmyadmin | 2.9.0_beta1 |
| phpmyadmin:phpmyadmin | 2.9.0_rc1 |
| phpmyadmin:phpmyadmin | 2.9.1_rc1 |
| phpmyadmin:phpmyadmin | 2.9.1_rc2 |
| debian:debian_linux | 3.1 |
| debian:debian_linux | 4.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.1 | phpmyadmin | 4:2.6.2-3sarge5 | DSA-1370-1 DSA-1370-2 |
| Debian | 4.0 | phpmyadmin | 4:2.9.1.1-4 | DSA-1370-1 DSA-1370-2 |
| Debian | 12, 13, 14 | phpmyadmin | 4:2.9.1.1-2 | DEBIAN-CVE-2006-6942 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
- Exploit-DB phpMyAdmin 2.x - 'db_create.php?db' Cross-Site Scripting (XSS)
- Exploit-DB phpMyAdmin 2.x - 'db_operations.php' Multiple Cross-Site Scripting (XSS)
- Exploit-DB phpMyAdmin 2.x - 'querywindow.php' Multiple Cross-Site Scripting (XSS)
- Exploit-DB phpMyAdmin 2.x - 'sql.php?pos' Cross-Site Scripting (XSS)
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-7
- http://marc.info/?l=bugtraq&m=116370414309444&w=2
- http://secunia.com/advisories/26733
- http://www.securityfocus.com/bid/21137
- http://www.us.debian.org/security/2007/dsa-1370
- http://www.vupen.com/english/advisories/2006/4572
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30310