CWE-209
CWE-209 is the MITRE weakness class for an error message that contains sensitive information, such as a file path, SQL query, stack trace or secret. It occurs when an application passes a raw internal error to an untrusted user instead of logging it and returning a generic message.