---
title: "CVE-2008-4456\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-2008-4456?format=md
keywords: index, follow
---

# CVE-2008-4456

Publication date 6 October 2008

Last updated 26 May 2025

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

Cross-site scripting (XSS) vulnerability in the command-line client in
MySQL 5.0.26 through 5.0.45, and other versions including versions later
than 5.0.45, when the --html option is enabled, allows attackers to inject
arbitrary web script or HTML by placing it in a database cell, which might
be accessed by this client when composing an HTML document. NOTE: as of
20081031, the issue has not been fixed in MySQL 5.0.67.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mysql-5.1 | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |
| mysql-dfsg-5.0 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Ignored end of life |
| 9.04 jaunty | Fixed 5.1.30really5.0.75-0ubuntu10.3 |
| 8.10 intrepid | Fixed 5.0.67-0ubuntu6.1 |
| 8.04 LTS hardy | Fixed 5.0.51a-3ubuntu5.5 |
| 7.10 gutsy | Ignored end of life, was needed |
| 7.04 feisty | Ignored end of life, was needed |
| 6.06 LTS dapper | Fixed 5.0.22-0ubuntu6.06.12 |
| mysql-dfsg-5.1 | 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Ignored end of life |
| 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2008-4456?format=md#patch-details)

## Notes

---

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

PoC: http://seclists.org/bugtraq/2008/Oct/0059.html
fixed in 5.0.89 and 5.1.42

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| mysql-dfsg-5.0 | * Vendor:   <http://patch-tracker.debian.org/patch/series/view/mysql-dfsg-5.0/5.0.51a-24+lenny2/94_SECURITY_CVE-2008-4456.dpatch> * Upstream:   <http://lists.mysql.com/commits/91358> * Upstream:   <http://lists.mysql.com/commits/91917> |
| mysql-dfsg-5.1 | * Upstream:   <http://lists.mysql.com/commits/72932> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-897-1](https://usn.ubuntu.com/USN-897-1)
+ MySQL vulnerabilities
+ 10 February 2010

+ [USN-1397-1](https://usn.ubuntu.com/USN-1397-1)
+ MySQL vulnerabilities
+ 12 March 2012

### Other references

* <http://www.henlich.de/it-security/mysql-command-line-client-html-injection-vulnerability/>
* <https://www.cve.org/CVERecord?id=CVE-2008-4456>
