@payloadcms/ui@3.62.0-internal.327a84a

  • 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
    • M
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the admin panel when user-supplied content is saved in a collection with versions enabled. An attacker can execute arbitrary scripts in the context of another user's browser by submitting crafted input and having it viewed by another authenticated user.

    Note:

    This is only exploitable if at least one collection has versions enabled and an authenticated user has create or update access to that collection.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @payloadcms/ui to version 3.78.0 or higher.

    <3.78.0