S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Misconfiguration·Updated Dec 16, 2023

CVE-2021-29625 Scanner

CVE-2021-29625 scanner - Cross-Site Scripting (XSS) vulnerability in Adminer

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.2k
Times Used
continuous scan runs
4.1k
Continuously Checked
assets under CS
21
Vulnerabilities Found
confirmed findings
References
CVECVE-2021-29625
6.1
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.

Adminer is open-source database management software. A cross-site scripting vulnerability in Adminer versions 4.6.1 to 4.8.0 affects users of MySQL, MariaDB, PgSQL and SQLite. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a `pdo_` extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected. The vulnerability is patched in version 4.8.1. As workarounds, one can use a browser supporting strict CSP or enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
adminerby vrana
>= 4.7.8, < 4.8.1
Updated Aug 21, 2026View on NVD →
Detail

Adminer is an open-source database management software that is widely used by users of MySQL, MariaDB, PgSQL, and SQLite. It is designed to be a simple and efficient alternative to other database management tools, providing quick access to databases without the need for complicated installations or configurations. Adminer has gained a significant following in recent years due to its ease of use and powerful feature set.

However, Adminer has recently been found to contain a critical cross-site scripting vulnerability known as CVE-2021-29625. This vulnerability affects versions 4.6.1 to 4.8.0 of the software, and can allow attackers to execute arbitrary code in the context of the affected website. The vulnerability arises due to the way Adminer handles user input, and can be triggered through a specially crafted database query.

Exploiting this vulnerability can have serious consequences for affected websites. Attackers could use it to steal sensitive data, such as login credentials or private user information. They could also use it to launch further attacks, such as injecting malicious scripts into the website or redirecting users to phishing pages. As such, it is crucial that website administrators take action to mitigate this risk.

At s4e.io, we understand the importance of staying on top of the latest security threats and vulnerabilities. That's why we offer a range of pro features that allow users to easily and quickly learn about vulnerabilities in their digital assets. Our comprehensive security solution can help protect your website against a range of threats, including XSS attacks like CVE-2021-29625. Don't wait until it's too late - sign up today and take control of your website's security.

 

REFERENCES

Solution Advice

Fortunately, there are several precautions that can be taken to protect against this vulnerability. These include:

  • Upgrade to version 4.8.1 or later of Adminer, which includes a patch for CVE-2021-29625.
  • Use a browser that supports strict CSP (Content Security Policy), which can help prevent XSS attacks.
  • Enable the native PHP extensions (e.g. mysqli) instead of the pdo_ extension.
  • Disable displaying PHP errors (display_errors), which can provide potential attackers with information about the website's configuration and vulnerabilities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.