Vulnerability GHSA-pvg3-6q9j-mj3x

Medium Risk
MEDIUM RISK
CVSS Score: 6.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
14 days ago
September 16, 2026 at 10:02 PM UTC
djust's Django model serialization has no sensitive-field denylist: password hashes, privilege flags, and PII on a public view attribute are sent to the client
0.1.0 - 1.0.6
0.1.0 - 1.0.6

Summary

djust's Django model serialization has no sensitive-field denylist: password hashes, privilege flags, and PII on a public view attribute are sent to the client

Details

Impact

When a Django Model instance is assigned to a public view attribute, djust serialized it to the client with no sensitive-field denylist — sending fields such as password (the hash), privilege flags (e.g. is_staff / is_superuser), tokens, and other PII to the browser. Because exposing model objects to templates is a normal djust pattern, this could leak credentials/PII without the developer realizing the full object crossed the wire.

Patches

Fixed in djust 1.0.7. Model serialization applies a secure-by-default sensitive-field denylist (password/hash/token/secret-style fields and known privilege flags are withheld) with an identity-subset fallback.

Workarounds

Keep Model instances on _private attributes and expose only the specific fields needed, until patched.

Impacted packages

Timeline

Published
14 days ago
September 16, 2026 at 10:02 PM UTC
Fixed (1.0.7)
3 months ago
June 22, 2026 at 04:25 PM UTC
Last Modified
14 days ago
September 16, 2026 at 10:15 PM UTC