@payloadcms/db-sqlite@3.70.0-canary.7 vulnerabilities

The officially supported SQLite database adapter for Payload

  • latest version

    3.75.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @payloadcms/db-sqlite 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
    • C
    SQL Injection

    @payloadcms/db-sqlite is a The officially supported SQLite database adapter for Payload

    Affected versions of this package are vulnerable to SQL Injection when querying JSON or richText fields. An attacker can extract sensitive information and gain unauthorized access to user accounts by injecting crafted SQL statements.

    Note:

    This is only exploitable if a Drizzle-based database adapter is used, at least one accessible collection contains a json or richText field, and the access.read permission for those fields is not set to always return false.

    How to fix SQL Injection?

    Upgrade @payloadcms/db-sqlite to version 3.73.0 or higher.

    <3.73.0