CWE-531

Inclusion of Sensitive Information in Test Code

Medium

Description

Accessible test applications can pose a variety of security risks. Since developers or administrators rarely consider that someone besides themselves would even know about the existence of these applications, it is common for them to contain sensitive information or functions.

Potential Impact

How to Fix

Distribution

Remove test code before deploying the application into production.

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-531 vulnerabilities in your codebase.

Get Security Assessment