CVE-2006-6942
Multiple cross-site scripting (XSS) vulnerabilities in PhpMyAdmin before 2.9.1.1 allow remote...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2006-6942- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2006-6942- Updated
- 2026-11-02
EUVDEUVD-2006-6925 No score
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.
- Record
EUVD-2006-6925- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ggm5-jxm9-g55m No score
Multiple cross-site scripting (XSS) vulnerabilities in PhpMyAdmin before 2.9.1.1 allow remote...
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.
- Record
GHSA-ggm5-jxm9-g55m- Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2006-6942- Updated
- 2026-11-02
OSVDEBIAN-CVE-2006-6942 No score
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.
- Record
DEBIAN-CVE-2006-6942- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpmyadminDebian:12 |
before 4:2.9.1.1-2 | 4:2.9.1.1-2 |
phpmyadminDebian:13 |
before 4:2.9.1.1-2 | 4:2.9.1.1-2 |
phpmyadminDebian:14 |
before 4:2.9.1.1-2 | 4:2.9.1.1-2 |
phpmyadminDebian:3.1 From an advisory covering 5 CVEs |
before 4:2.6.2-3sarge5, plus listed versions 4:2.6.2-34:2.6.2-3sarge14:2.6.2-3sarge24:2.6.2-3sarge34:2.6.2-3sarge4 |
4:2.6.2-3sarge5 |
phpmyadminDebian:4.0 From an advisory covering 5 CVEs |
before 4:2.9.1.1-4, plus listed versions 4:2.9.1.1-3 |
4:2.9.1.1-4 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | phpMyAdmin 2.x - 'db_create.php?db' Cross-Site Scripting | 2006-09-15 |
| Exploit-DB | phpMyAdmin 2.x - 'db_operations.php' Multiple Cross-Site Scripting Vulnerabilities | 2006-09-15 |
| Exploit-DB | phpMyAdmin 2.x - 'querywindow.php' Multiple Cross-Site Scripting Vulnerabilities | 2006-09-15 |
| Exploit-DB | phpMyAdmin 2.x - 'sql.php?pos' Cross-Site Scripting | 2006-09-15 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| aliases | ||
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2006-6942 is a medium vulnerability (CVSS 6.8) in Phpmyadmin, published January 19, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.32%, the 88th percentile. Fixed in phpmyadmin 4:2.9.1.1-2.