VULNERABILITY INTELLIGENCE

CVE-2021-31590

CVSS score8.8 HIGH
EPSS probability2.65%
CISA KEVNot currently listed
Published2021-07-19
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

PwnDoc all versions until 0.4.0 (2021-08-23) has incorrect JSON Webtoken handling, leading to incorrect access control. With a valid JSON Webtoken that is used for authentication and authorization, a user can keep his admin privileges even if he is downgraded to the "user" privilege. Even after a user's account is deleted, the user can still access the administration panel (and add or delete users) and has complete access to the system.

Weakness classification

  • nvd@nist.gov: NVD-CWE-Other

Primary references