Skip to content
Fencer Intel
medium 6.1

CVE-2018-12581 json

phpMyAdmin XSS Vulnerability

published 8y ago modified 4mo ago also GHSA-vxj6-pm6r-23hq , EUVD-2022-5456

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

An issue was discovered in js/designer/move.js in phpMyAdmin before 4.8.2. A Cross-Site Scripting vulnerability has been found where an attacker can use a crafted database name to trigger an XSS attack when that database is referenced from the Designer feature.

Patch / fix

  • packagist phpmyadmin/phpmyadmin 4.8.2
  • phpmyadmin phpmyadmin 4.8.2
  • phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.1+dfsg1-2

debian advisories DEBIAN-CVE-2018-12581

  • phpmyadmin Ubuntu Pro 14.04 LTS 4:4.0.10-1ubuntu0.1+esm1
  • phpmyadmin Ubuntu Pro 16.04 LTS 4:4.5.4.1-2ubuntu2.1+esm3
  • phpmyadmin Ubuntu Pro 18.04 LTS 4:4.6.6-5ubuntu0.5+esm1

ubuntu advisories UBUNTU-CVE-2018-12581

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • phpMyAdmin openSUSE Tumbleweed 5.1.1-1.2

opensuse advisories openSUSE-SU-2024:11171-1

  • phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 4.8.2-r0

alpine advisories ALPINE-CVE-2018-12581

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2018-12581 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2018-12581 updated cvss 7.7

phpMyAdmin: XSS when the database is referenced from the Designer feature

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

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

Exploit prediction

1.78% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist phpmyadmin/phpmyadmin
<4.8.2
4.8.2

Classification

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

References

Sources

Fencer Intel 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.