{"id":"CVE-2020-35572","aliases":["DEBIAN-CVE-2020-35572","EUVD-2021-0541","GHSA-9pgx-gcph-mpqr","UBUNTU-CVE-2020-35572","USN-5271-1"],"status":"published","title":"vrana/adminer via XSS in the history parameter in SQL command","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02003,"percentile":0.81081,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-02-09T17:55:56Z","modified":"2026-10-26T12:02:31Z","fixes":[{"ecosystem":"Packagist","package":"vrana/adminer","fixed_in":["4.7.9"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"adminer","fixed_in":["4.7.9-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"adminer","fixed_in":["4.7.9-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"adminer","fixed_in":["4.7.9-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"adminer","fixed_in":["4.7.6-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"vrana/adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.9"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.9-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.9-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.9-1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"vrana/adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.9"}]}],"versions":["v4.2.0","v4.2.1","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.3.0","v4.3.1","v4.4.0","v4.5.0","v4.6.0","v4.6.1","v4.6.2","v4.6.3","v4.7.0","v4.7.1","v4.7.2","v4.7.3","v4.7.4","v4.7.5","v4.7.6","v4.7.7","v4.7.8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.6-1ubuntu0.1~esm1"}]}],"versions":["4.7.2-1","4.7.4-1","4.7.5-1","4.7.6-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-1ubuntu1+esm1"}]}],"versions":["4.2.1-1","4.2.1-1ubuntu1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.2-1ubuntu0.1~esm1"}]}],"versions":["4.3.1-2","4.5.0-1","4.6.1-1","4.6.2-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"adminer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7.6-1ubuntu0.1~esm1"}]}],"versions":["4.7.2-1","4.7.4-1","4.7.5-1","4.7.6-1"],"bundled":3}],"products":[{"vendor":"adminer","product":"adminer"}],"references":[{"url":"https://sourceforge.net/p/adminer/news/","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","report"]},{"url":"https://sourceforge.net/p/adminer/bugs-and-features/775/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-9pgx-gcph-mpqr","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35572","tags":["advisory"]},{"url":"https://github.com/vrana/adminer/commit/5c395afc098e501be3417017c6421968aac477bd","tags":["web"]},{"url":"https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released/"},{"url":"https://github.com/advisories/GHSA-9pgx-gcph-mpqr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-35572","tags":["advisory"]},{"url":"https://github.com/vrana/adminer","tags":["package"]},{"url":"https://sourceforge.net/p/adminer/bugs-and-features/775","tags":["web"]},{"url":"https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-35572","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5271-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-35572","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-21311","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-29625","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-35572","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T17:55:56Z","modified":"2024-08-04T17:09:13.413Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-0541","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T17:55:56Z","modified":"2024-08-04T17:09:13Z","updated_at":"2026-11-03T03:07:05.848444Z"}],"ghsa":[{"id":"GHSA-9pgx-gcph-mpqr","title":"vrana/adminer via XSS in the history parameter in SQL command","description":"### Impact\nUsers of Adminer versions supporting SQL command (most versions, e.g. MySQL) using browsers not encoding URL parameters before sending to server (likely Edge, not Chrome, not Firefox) are affected.\n\n### Patches\nPatched by 5c395afc, included in version [4.7.9](https://github.com/vrana/adminer/releases/tag/v4.7.9).\n\n### Workarounds\nUse browser which encodes URL parameters (e.g. Chrome or Firefox).\n\n### References\nhttps://sourceforge.net/p/adminer/bugs-and-features/775/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at https://sourceforge.net/p/adminer/bugs-and-features/775/\n","status":"published","published":"2021-02-11T20:42:28Z","modified":"2023-09-21T19:59:46Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:06.234371Z"}],"nvd":[{"id":"CVE-2020-35572","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T18:15:44.073Z","modified":"2026-06-17T03:13:57.717Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:34.188486Z"}],"osv":[{"id":"CVE-2020-35572","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T18:15:44.073Z","modified":"2026-10-24T10:30:54.719615418Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"DEBIAN-CVE-2020-35572","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T18:15:44.073Z","modified":"2026-10-26T12:02:31.944004642Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"GHSA-9pgx-gcph-mpqr","title":"vrana/adminer via XSS in the history parameter in SQL command","description":"### Impact\nUsers of Adminer versions supporting SQL command (most versions, e.g. MySQL) using browsers not encoding URL parameters before sending to server (likely Edge, not Chrome, not Firefox) are affected.\n\n### Patches\nPatched by 5c395afc, included in version [4.7.9](https://github.com/vrana/adminer/releases/tag/v4.7.9).\n\n### Workarounds\nUse browser which encodes URL parameters (e.g. Chrome or Firefox).\n\n### References\nhttps://sourceforge.net/p/adminer/bugs-and-features/775/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at https://sourceforge.net/p/adminer/bugs-and-features/775/\n","status":"published","published":"2021-02-11T20:42:28Z","modified":"2024-02-17T05:35:37.470563Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"UBUNTU-CVE-2020-35572","description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","status":"published","published":"2021-02-09T18:15:00Z","modified":"2026-02-04T02:22:06.742576Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:25.179924Z"},{"id":"USN-5271-1","title":"adminer vulnerabilities","description":"It was discovered that Adminer did not escape data in the history parameter\nof the default URI. A remote attacker could possibly use this issue to perform\ncross-site scripting (XSS) attacks. This issue only affected Ubuntu 20.04 ESM.\n(CVE-2020-35572)\n\nAdam Crosser and Brian Sizemore discovered that Adminer incorrectly handled\nredirection requests to internal servers. An unauthenticated remote attacker\ncould possibly use this to perform a server-side request forgery attack and\nexpose sensitive information. (CVE-2021-21311)\n\nIt was discovered that Adminer was incorrectly escaping data in the doc_link\nfunction. A remote attacker could possibly use this issue to perform cross-site\nscripting (XSS) attacks. This issue only affected Ubuntu 18.04 ESM and\nUbuntu 20.04 ESM. (CVE-2021-29625)\n","status":"published","published":"2022-06-03T13:18:00Z","modified":"2026-06-25T13:30:58.731969664Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
