CVE-2008-4456

MySQL - Cross-Site Scripting via HTML Output with --html Option

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-4456. PoCs published by Thomas Henlich.

AI-analyzed exploit summary This exploit demonstrates an HTML injection vulnerability in MySQL's command-line client when using the --html flag. The PoC shows how unsanitized input can be rendered as HTML, potentially leading to XSS attacks.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Thomas Henlich · textremotelinux
https://www.exploit-db.com/exploits/32445

This exploit demonstrates an HTML injection vulnerability in MySQL's command-line client when using the --html flag. The PoC shows how unsanitized input can be rendered as HTML, potentially leading to XSS attacks.

Classification
Working Poc 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: MySQL command-line client (versions affected by CVE-2008-4456)
No auth needed
Prerequisites: MySQL command-line client with --html flag enabled
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (23)

Core 23
Core References
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT4077
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/497885/100/0/threaded
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2009:094
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1397-1
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/45590
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11456
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/497158/100/0/threaded
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/38517
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2009/dsa-1783
Exploit x_refsource_confirm
http://bugs.mysql.com/bug.php?id=27884
Various Sources vendor-advisory x_refsource_ubuntu
http://ubuntu.com/usn/usn-897-1
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-1289.html
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/32072
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/496842/100/0/threaded
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2010-0110.html
Mailing List mailing-list x_refsource_bugtraq
http://seclists.org/bugtraq/2008/Oct/0026.html
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/4357
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/34907
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/496877/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/36566
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31486

Scores

EPSS 0.0632
EPSS Percentile 91.1%

Details

CWE
CWE-79
Status published
Products (15)
mysql/mysql 5.0.4
mysql/mysql 5.0.30
mysql/mysql 5.0.36
mysql/mysql 5.0.44
oracle/mysql 5.0.26
oracle/mysql 5.0.27
oracle/mysql 5.0.30 sp1
oracle/mysql 5.0.32
oracle/mysql 5.0.33
oracle/mysql 5.0.37
... and 5 more
Published Oct 06, 2008
Tracked Since Feb 18, 2026