{"answers":{"affected":"2 open source packages ship an affected version, including vrana/adminer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-35572 in the wild and no public exploit code.","fix":"Upgrade vrana/adminer to 4.7.9 or later.","what":"CVE-2020-35572 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-35572 and fix it if it is affected.\n\nWhat it is: CVE-2020-35572 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-35572 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vrana/adminer (Packagist): affected all versions; fixed in 4.7.9\n- vrana/adminer (Packagist): affected all versions; fixed in 4.7.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-35572/ (Markdown: https://insights.sbomify.com/CVE-2020-35572/index.md)","id":"CVE-2020-35572","markdown":"https://insights.sbomify.com/CVE-2020-35572/index.md","name":"CVE-2020-35572","record":{"aliases":["DEBIAN-CVE-2020-35572","GHSA-9pgx-gcph-mpqr","UBUNTU-CVE-2020-35572"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Database management tool","requires_auth":"none","summary":"Cross-site scripting vulnerability in Adminer allows attackers to inject malicious scripts via the history parameter, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"adminer","vendor":"adminer"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Adminer through 4.7.8 allows XSS via the history parameter to the default URI.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"vrana/adminer via XSS in the history parameter in SQL command","id":"CVE-2020-35572","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"Denial of service in n/a","id":"CVE-2020-35573"},"packages":[{"ecosystem":"Packagist","fixed":["4.7.9"],"introduced":["0"],"last_affected":[],"package":"vrana/adminer","purl":null,"source":"GHSA-9pgx-gcph-mpqr"},{"ecosystem":"Packagist","fixed":["4.7.9"],"introduced":["0"],"last_affected":[],"package":"vrana/adminer","purl":"pkg:composer/vrana/adminer","source":"GHSA-9pgx-gcph-mpqr"}],"prev":{"headline":"MantisBT XSS in manage_custom_field_update.php","id":"CVE-2020-35571"},"products":["n/a"],"published":"2021-02-09","related":[{"cvss_score":7.2,"headline":"Adminer Server-Side Request Forgery","id":"CVE-2021-21311","kev_date_added":"2025-09-29","published":"2021-02-11"},{"cvss_score":9.8,"headline":"vrana/adminer vulnerable to SSRF by connecting to privileged ports","id":"CVE-2018-7667","kev_date_added":null,"published":"2018-03-05"},{"cvss_score":8.6,"headline":"Adminer PHP Object Injection issue leads to Denial of Service","id":"CVE-2025-43960","kev_date_added":null,"published":"2025-08-25"},{"cvss_score":7.5,"headline":"Adminer has an Unauthenticated Persistent DoS via Array Injection in ?script=version Endpoint","id":"CVE-2026-25892","kev_date_added":null,"published":"2026-02-09"},{"cvss_score":7.5,"headline":"Files or Directories Accessible to External Parties in Adminer","id":"CVE-2021-43008","kev_date_added":null,"published":"2022-04-05"},{"cvss_score":7.5,"headline":"XSS in doc_link","id":"CVE-2021-29625","kev_date_added":null,"published":"2021-05-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Cross-site scripting vulnerability in Adminer allows attackers to inject malicious scripts via the history parameter, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2020-35572/"}