CWE-201: Error clearly exposes the database credentials
When access is denied, mysql_pconnect() raises a warning that exposes the user credentials.
References
Code Behaviors & Features
Detect and mitigate CWE-201 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →