Every CVE Search/ Get API key

CVE-2013-5002

phpMyAdmin Cross-site scripting (XSS) vulnerability via pageNumber value

3.5 LowFix available

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Exploit likelihood

0.97%Down 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 3.5

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
CVE-2013-5002
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
CVE-2013-5002
Updated
2026-11-02
EUVDEUVD-2022-4691 No score

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
EUVD-2022-4691
Updated
2026-11-03
GitHub AdvisoriesGHSA-p632-5w74-x8xx No score

phpMyAdmin Cross-site scripting (XSS) vulnerability via pageNumber value

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
GHSA-p632-5w74-x8xx
Weakness
CWE-79
Updated
2026-11-02
OSV No score

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
CVE-2013-5002
Updated
2026-11-02
OSVDEBIAN-CVE-2013-5002 No score

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
DEBIAN-CVE-2013-5002
Updated
2026-11-02
OSVGHSA-p632-5w74-x8xx No score

phpMyAdmin Cross-site scripting (XSS) vulnerability via pageNumber value

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

Record
GHSA-p632-5w74-x8xx
Weakness
CWE-79
Updated
2026-11-02
OSVMGASA-2013-0238 No score

Updated phpmyadmin packages fix security vulnerabilities

Using a crafted SQL query, it was possible to produce an XSS on the SQL query form (PMASA-2013-8)(CVE-2013-4995).

In the setup/index.php, using a crafted # hash with a Javascript event, untrusted JS code could be executed. In the Display chart view, a chart title containing HTML code was rendered unescaped, leading to possible JavaScript code execution via events. A malicious user with permission to create databases or users having HTML tags in their name, could trigger an XSS vulnerability by issuing a sleep query with a long delay. In the server status monitor, the query parameters were shown unescaped. By configuring a malicious URL for the phpMyAdmin logo link in the navigation sidebar, untrusted script code could be executed when a user clicked the logo. The setup field for "List of trusted proxies for IP allow/deny" Ajax validation code returned the unescaped input on errors, leading to possible JavaScript execution by entering arbitrary HTML (PMASA-2013-9). Also, due to not properly validating the version.json file, which is fetched from the phpMyAdmin.net website, could lead to an XSS attack, if a crafted version.json file would be presented (PMASA-2013-11). (CVE-2013-4996, CVE-2013-4997)

By calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed (PMASA-2013-12)(CVE-2013-4998, CVE-2013-5000)

When calling schema_export.php with crafted parameters, it is possible to trigger an XSS (PMASA-2013-14)(CVE-2013-5002).

Due to a missing validation of parameters passed to schema_export.php and pmd_pdf.php, it was possible to inject SQL statements that would run with the privileges of the control user. This gives read and write access to the tables of the configuration storage database, and if the control user has the necessary privileges, read access to some tables of the mysql database (PMASA-2013-15)(CVE-2013-5003).

Record
MGASA-2013-0238
Updated
2026-11-02
OSVopenSUSE-SU-2024:10054-1 No score

phpMyAdmin-4.6.5.2-1.1 on GA media

These are all security issues fixed in the phpMyAdmin-4.6.5.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10054-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
phpmyadmin/phpmyadmin
Packagist
3.5 up to 3.5.8.2
3.5.8.2
phpmyadmin/phpmyadmin
Packagist
4.0 up to 4.0.4.2
4.0.4.2
phpmyadmin
Debian:12
before 4:4.0.4.2-1
4:4.0.4.2-1
phpmyadmin
Debian:13
before 4:4.0.4.2-1
4:4.0.4.2-1
phpmyadmin
Debian:14
before 4:4.0.4.2-1
4:4.0.4.2-1
phpmyadmin
Debian:7
From an advisory covering 5 CVEs
before 4:3.4.11.1-2+deb7u1, plus listed versions
4:3.4.11.1-2
4:3.4.11.1-2+deb7u1
phpmyadmin/phpmyadmin
Packagist
4.0 up to 4.0.4.2, plus listed versions
4.0.04.0.14.0.24.0.34.0.44.0.4.1
4.0.4.2
phpmyadmin
Mageia:2
From an advisory covering 7 CVEs
before 3.5.8.2-1.mga2
3.5.8.2-1.mga2
phpmyadmin
Mageia:3
From an advisory covering 7 CVEs
before 3.5.8.2-1.mga3
3.5.8.2-1.mga3
phpMyAdmin
openSUSE:Tumbleweed
From an advisory covering 124 CVEs
before 4.6.5.2-1.1
4.6.5.2-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-5002 is a low vulnerability (CVSS 3.5) in Phpmyadmin, published July 29, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in phpmyadmin/phpmyadmin 3.5.8.2.

References

Show 131 moreShow less
MoveEnter Open