Skip to content

[Precogs Alert] Sensitive Information Exposure via Verbose Client Logging detected (CWE-532, Risk: Low)#32

Open
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-zlypemem
Open

[Precogs Alert] Sensitive Information Exposure via Verbose Client Logging detected (CWE-532, Risk: Low)#32
sameer6pre wants to merge 1 commit intomainfrom
Precogs-fix-zlypemem

Conversation

@sameer6pre
Copy link
Owner

Vulnerability Details

  • File Path: orbit-app/orbit-app/src/pages/BlogsPage.jsx
  • Vulnerability Type: Sensitive Information Exposure via Verbose Client Logging
  • Risk Level: Low

Explanation:
The code logs server error bodies (err.response.data) directly to the browser console. While console logs are visible only to users who open developer tools, they can leak sensitive server information such as stack traces, database error messages, or internal fields. These details can help attackers diagnose vulnerabilities or craft targeted exploits. Additionally referencing err.response.data without null checks can itself throw if err.response is undefined.

Please review and address the issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant