---
title: "CVE-2006-6942\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2006-6942?format=md
keywords: index, follow
---

# CVE-2006-6942

Publication date 19 January 2007

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2006-6942?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| phpmyadmin | 9.10 karmic | Not affected |
| 9.04 jaunty | Not affected |
| 8.10 intrepid | Not affected |
| 8.04 LTS hardy | Not affected |
| 7.10 gutsy | Not affected |
| 7.04 feisty | Not affected |
| 6.10 edgy | Ignored end of life, was needed |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [wgrant](https://launchpad.net/~wgrant)

PMASA-2006-7

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6942)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2006-6942)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2006-6942)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2006-6942)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2006-6942>
