Skip to content
OpenAdvisories

Weakness (CWE)

CWE-209: Generation of Error Message Containing Sensitive Information

Base Draft

The product generates an error message that includes sensitive information about its environment, users, or associated data.

How to prevent it (7 mitigations)
  1. Implementation

    Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.

    If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.

    Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.

  2. Implementation

    Handle exceptions internally and do not display errors containing potentially sensitive information to a user.

  3. Implementation

    Use naming conventions and strong types to make it easier to spot when sensitive data is being used. When creating structures, objects, or other complex entities, separate the sensitive and non-sensitive data as much as possible.

  4. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  5. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  6. System Configuration

    Where available, configure the environment to use less verbose error messages. For example, in PHP, disable the display_errors setting during configuration, or at runtime using the error_reporting() function.

  7. System Configuration

    Create default error pages or messages that do not leak any information.

Source: MITRE CWE-209

343 results · Clear filters · Feed

  • Medium 6.9

    A vulnerability has been found in FAST/TOOLS provided by Yokogawa Electric Corporation. Detailed messages are displayed…

  • Medium 5.3

    Multiple Vulnerabilities in IBM Cloud Pak System

    IBM Cloud Pak System does not set the secure attribute on authorization tokens or session cookies. Attackers may be able to get the cookie values by sending a http:// link to a user or by planting this link in a site the user goes to. The cookie will be sent …

  • Medium 5.3

    Multiple Vulnerabilities in IBM Cloud Pak System

    IBM Cloud Pak System is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session.

  • Medium 5.3

    Multiple Vulnerabilities in IBM Cloud Pak System

    IBM Cloud Pak System displays sensitive information in user messages that could aid in further attacks against the system.

  • Medium 5.3

    Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure

    A flaw was found in github.com/go-viper/mapstructure/v2, in the field processing component using mapstructure.WeakDecode. This vulnerability allows information disclosure through detailed error messages that may leak sensitive input values via malformed user-…

  • Medium 5.3

    A vulnerability in the PHP backend of gemscms.aptsys.com.sg thru 2025-05-28 allows unauthenticated remote attackers to …

  • Medium 5.3

    A vulnerability in the PHP backend of gemsloyalty.aptsys.com.sg thru 2025-05-28 allows unauthenticated remote attackers…

  • Medium 5.3

    birkir prime GraphQL Directive graphql information exposure

    A vulnerability was identified in birkir prime up to 0.4.0.beta.0. This impacts an unknown function of the file /graphql of the component GraphQL Directive Handler. Such manipulation leads to information exposure through error message. The attack may be perfo…

  • Medium 5.3

    Fancy Product Designer | WooCommerce WordPress <= 6.4.8 - Unauthenticated Full Path Disclosure via 'pdf' Parameter

    The Fancy Product Designer plugin for WordPress is vulnerable to Full Path Disclosure in all versions up to, and including, 6.4.8. This is due to improper error handling in the PDF upload functionality that exposes server filesystem paths and stack traces in …

  • Medium 4.3

    Certain error messages returned by the application expose internal system details that should not be visible to end use…

  • Medium 5.5

    Windows Kernel Information Disclosure Vulnerability

    Generation of error message containing sensitive information in Windows Kernel allows an authorized attacker to disclose information locally.

  • Medium 5.3

    Hitachi Vantara Pentaho Business Analytics Server - Generation of Error Message Containing Sensitive Information

    Hitachi Vantara Pentaho Data Integration and Analytics Community Dashboard Framework prior to versions 10.2.0.4, including 9.3.0.x and 8.3.x display the full server stack trace when encountering an error within the GetCdfResource servlet.

  • Medium 4.3

    Generation of Error Message Containing Sensitive Information in GitLab

    GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.5 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could have allowed an authenticated user to discover the names of private projects they do not have access through A…

  • Medium 4.3

    IBM Planning Analytics Local is vulnerable to disclosing sensitive information

    IBM Planning Analytics Local 2.1.0 - 2.1.15 could disclose sensitive information about server architecture that could aid in further attacks against the system.

  • Medium 4.3

    Debug information disclosure in the SQL error message to in Revive Adserver 5.5.2 and 6.0.1 and earlier versions causes…

  • Medium 6.9

    Multiple vulnerabilities in Limesurvey

    In version 6.13.0 of LimeSurvey, any external user can cause a 500 error in the survey system by sending a malformed session cookie. Instead of displaying a generic error message, the system exposes internal backend information, including the use of the Yii f…

  • Medium 5.3

    Improper neutralization of input in Times Software E-PAYROLL

    Value provided in one of POST parameters sent during the process of logging in to Times Software E-Payroll is not sanitized properly, which allows an unauthenticated attacker to perform DoS attacks. SQL injection attacks might also be feasible, although so fa…

  • Medium 4.3

    A vulnerability was found in the Application Server of Desktop Alert PingAlert version 6.1.0.11 to 6.1.1.2 which allows…

  • Medium 4.3

    Directus Vulnerable to Information Leakage in Existing Collections

    Directus is a real-time API and App dashboard for managing SQL database content. An observable difference in error messaging was found in the Directus REST API in versions of Directus prior to version 11.13.0. The `/items/{collection}` API returns different e…

  • Medium 5.5

    A vulnerability has been identified in Altair Grid Engine (All versions < V2026.0.0). Affected products do not properly…

  • Medium 5.3

    Vertikal Systems Hospital Manager Backend Services Generation of Error Message Containing Sensitive Information

    Prior to September 19, 2025, the Hospital Manager Backend Services returned verbose ASP.NET error pages for invalid WebResource.axd requests, disclosing framework and ASP.NET version information, stack traces, internal paths, and the insecure configuration 'c…

  • Medium 6.9

    Error Messages Wrapped In HTTP Header

    Error Messages Wrapped In HTTP Header.This issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5.

  • Medium 5.3

    Moodle: router produces json instead of 404 error for invalid course id

    The router’s inconsistent response to invalid course IDs allowed attackers to infer which course IDs exist, potentially aiding reconnaissance.

  • Medium 4.2

    Actual Sync-server Gocardless service is logging sensitive data including bearer tokens and account numbers

    ### Summary The GoCardless components in Actualbudget in are logging responses to STDOUT in a parsed format using `console.log`and `console.debug` (Which in this version of node is an alias for `console.log`). This is exposing sensitive information in log fil…

  • Medium —

    ibexa/user login enumerates user accounts

    ### Impact In v5, error messages could provide enough information to tell whether a user exists or not. This is resolved by ensuring the error messages are sufficiently ambigious. ### Patches See "Patched versions". ### Workarounds None. ### Resources https:/…

  • Medium 5.5

    Windows USB Video Class System Driver Information Disclosure Vulnerability

    Generation of error message containing sensitive information in Windows USB Video Driver allows an authorized attacker to disclose information locally.

  • Medium 6.9

    Project existence disclosure in LXD images API

    Information disclosure in images API in Canonical LXD before 6.5 and 5.21.4 on all platforms allows unauthenticated remote attackers to determine project existence via differing HTTP status code responses.

  • Medium 5.9

    Dell BSAFE Crypto-J generates an error message that includes sensitive information about its environment and associated…

  • Medium 5.5

    Windows Kernel Memory Information Disclosure Vulnerability

    Generation of error message containing sensitive information in Windows Kernel allows an authorized attacker to disclose information locally.

  • Medium 4.6

    Liferay Portal and Liferay DXP vulnerable to store Cross-site Scripting

    A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.9, 2025.Q1.0 through 2025.Q1.16, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024…

  • Medium 5.3

    Information Disclosure via File Abstraction Layer

    Error messages containing sensitive information in the File Abstraction Layer in TYPO3 CMS versions 9.0.0-9.5.54, 10.0.0-10.4.53, 11.0.0-11.5.47, 12.0.0-12.4.36, and 13.0.0-13.4.17 allow backend users to disclose full file paths via failed low-level file-syst…

  • Medium 5.1

    Liferay Portal exposes 500 status when attempting login with a deleted client secret

    Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.9, 2025.Q1.0 through 2025.Q1.16, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.19 exposes "Internal Serve…

  • Medium 5.0

    In writeContent of RemotePrintDocument.java, there is a possible information disclosure due to a logic error. This coul…

  • Medium 5.5

    In contentDescForNotification of NotificationContentDescription.kt, there is a possible notification content leak throu…

  • Medium 5.3

    Information Disclosure in MiR robots and MiR fleet through verbose error pages

    Information disclosure vulnerability in error handling in MiR software prior to version 3.0.0 allows unauthenticated attackers to view detailed error information, such as file paths and other data, via access to verbose error pages.

  • Medium 5.3

    HCL BigFix SaaS Authentication Service is affected by a sensitive information disclosure

    HCL BigFix SaaS Authentication Service is affected by a sensitive information disclosure. Under certain conditions, error messages disclose sensitive version information about the underlying platform.

  • Medium 5.3

    OMERO.web displays unecessary user information when requesting to reset the password

    OMERO.web provides a web based client and plugin infrastructure. Prior to version 5.29.2, if an error occurred when resetting a user's password using the Forgot Password option in OMERO.web, the error message displayed on the Web page can disclose information…

  • Medium 4.3

    WuKongOpenSource WukongCRM API Response upload information exposure

    A vulnerability was identified in WuKongOpenSource WukongCRM 11.0. This affects an unknown part of the file /adminFile/upload of the component API Response Handler. The manipulation leads to information exposure through error message. It is possible to initia…

  • Medium 4.3

    IBM Analytics Content Hub information disclosure

    IBM Analytics Content Hub 2.0, 2.1, 2.2, and 2.3 could allow a remote attacker to obtain information about the application framework which could be used in reconnaissance to gather information for future attacks from a detailed technical error message.

  • Medium 5.3

    IBM Analytics Content Hub information disclosure

    IBM Analytics Content Hub 2.0, 2.1, 2.2, and 2.3 could allow a remote attacker to obtain sensitive information when a detailed technical error message is returned in the browser.