Information Exposure Affecting payload package, versions <1.7.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-PAYLOAD-5487992
  • published 27 Apr 2023
  • disclosed 27 Apr 2023
  • credit cpaczek

How to fix?

Upgrade payload to version 1.7.0 or higher.

Overview

payload is a Node, React and MongoDB Headless CMS and Application Framework

Affected versions of this package are vulnerable to Information Exposure such that, if a user has access to documents that contain hidden fields or fields they do not have access to, the user could reverse-engineer those values via brute force.

Workaround

Users who are unable to upgrade to the fixed version can write a beforeOperation hook to remove where queries that attempt to access hidden field data.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.4 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

6.5 medium