vrana/adminer is vulnerable to Cross-Site Scripting (XSS)
61
Medium Risk
Adminer interpolates the CONNECTION_ID() value reported by a MySQL-compatible server straight into inline JavaScript when it renders the slow-query kill control, without checking that the value is numeric. A database server the user connects to can return script content in that position and have it execute in the authenticated Adminer origin. Code execution on the host follows only in the narrower case where the database also holds FILE privileges and shares a writable webroot with Adminer. The fix casts the connection id to a number before it is written into JavaScript.
You are affected if you are using a version that falls within the vulnerable range and users can be induced to connect Adminer to an untrusted MySQL/MariaDB-compatible server.
vrana/adminer is vulnerable to Cross-Site Scripting (XSS) in versions 4.0.0 - 6.0.1.
Upgrade the vrana/adminer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.