@payloadcms/ui@3.80.0-internal.bd498b0

  • latest version

    3.94.1

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @payloadcms/ui package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Missing Authorization

    Affected versions of this package are vulnerable to Missing Authorization via document read operations that return the apiKey field without omitting it, allowing an authenticated user with read access to other user documents to retrieve those users' active API keys in plaintext. The fix introduces an omitAPIKey hook and a dedicated revealAPIKey endpoint so that API keys are stripped from standard document reads and only exposed through a privileged endpoint.

    How to fix Missing Authorization?

    Upgrade @payloadcms/ui to version 3.90.0, 4.0.0-canary.34 or higher.

    >=3.0.0 <3.90.0>=4.0.0-canary.0 <4.0.0-canary.34