Skip to content
Fencer Vulns
low 2.6

CVE-2008-4456 json

Cross-site scripting (XSS) vulnerability in the command-line client in MySQL 5.0.26 through 5.0.45, and other versions including versions l…

published 2008-10-06 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-4437

cvss
2.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.0%
EPSS 7.0% chance of exploitation in 30 days, percentile 94%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • mysql RHEL 4 4.1.22-2.el4_8.3
  • mysql-bench RHEL 4 4.1.22-2.el4_8.3
  • mysql-server RHEL 4 4.1.22-2.el4_8.3
  • php RHEL 2 APPLICATION_STACK 5.2.10-1.el5s2
  • httpd RHEL 2 APPLICATION_STACK 2.2.13-2.el5s2
  • mysql RHEL 2 APPLICATION_STACK 5.0.84-2.el5s2
  • php-gd RHEL 2 APPLICATION_STACK 5.2.10-1.el5s2
  • mod_ssl RHEL 2 APPLICATION_STACK 1:2.2.13-2.el5s2

red hat advisories RHSA-2010:0110RHSA-2009:1461RHSA-2009:1289

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2008-4456 updated cvss 1.7

mysql: mysql command line client XSS flaw

  • Red Hat Enterprise Linux (v. 5 server) mysql 5.0.77-3.el5, mysql-test 5.0.77-3.el5, mysql-bench 5.0.77-3.el5, mysql-server 5.0.77-3.el5
    fixed: vendor fix RHSA-2009:1289
  • Red Hat Enterprise Linux AS version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3
    fixed: vendor fix RHSA-2010:0110
  • Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.77-3.el5, mysql-test 5.0.77-3.el5, mysql-bench 5.0.77-3.el5, mysql-server 5.0.77-3.el5
    fixed: vendor fix RHSA-2009:1289
  • Red Hat Enterprise Linux Desktop version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3
    fixed: vendor fix RHSA-2010:0110
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.77-3.el5, mysql-test 5.0.77-3.el5, mysql-bench 5.0.77-3.el5, mysql-server 5.0.77-3.el5
    fixed: vendor fix RHSA-2009:1289
  • Red Hat Enterprise Linux ES version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3 Red Hat Enterprise Linux WS version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3
    fixed: vendor fix RHSA-2010:0110

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-32445)
  2. Published

Exploit prediction

7.05% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-32445 MySQL 5 - Command Line Client HTML Special Characters HTML Injection remote, 2008-09-30
  • bugs.mysql.com http://bugs.mysql.com/bug.php?id=27884 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.