Skip to content

Security Finding (Informational) SEC-026: Excessive Cache Clearing in SingleLoginSubscriber #183

Description

@DyanGalih

Finding ID: SEC-026
Location: lib/EventSubscriber/SingleLoginSubscriber.php

JWT operations clear multiple cache items and Doctrine caches on every event, which may be excessive and harm performance under load.

Impact: Performance degradation; unnecessary cache churn.

Remediation (short): Limit cache clearing to only the specific user's session cache and avoid broad cache invalidation.

Reference: SECURITY_REVIEW.md

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions