CVE-2025-48383: Django Widget Shared Token Init

Django `Widget` and `Field` instances are typically instantiated once at module-load time as class attributes on Forms. Generating a unique token (such as a UUID, random bytes, or signed string) in their `__init__` method will cause that token to be shared across all requests and all users handled by the worker process. This can lead to information disclosur

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2025-48383-django-widget-shared-token-init --engine opengrep

Description

Django `Widget` and `Field` instances are typically instantiated once at module-load time as class attributes on Forms. Generating a unique token (such as a UUID, random bytes, or signed string) in their `__init__` method will cause that token to be shared across all requests and all users handled by the worker process. This can lead to information disclosur