CVE-2022-35931: Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for password
CVE-2022-35931 is a low-severity flaw (CVSS 2.7) affecting password policy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords that the validator itself would block. Upgrade Nextcloud Server to 22.2.10, 23.0.7 or 24.0.3 to receive a patch for the issue in Password Policy. There are no known workarounds available.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-35931?
password policy: upgrade to 22.2.10, 23.0.7, 24.0.3. Exact commands for each OS are on this page.
Is CVE-2022-35931 being exploited?
CVE-2022-35931 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-35931 affect?
CVE-2022-35931 affects password policy. Severity is low (CVSS 2.7). Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords
How urgent is CVE-2022-35931?
Priority 19/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2015-4387 LOW 2.6 DOWNGRADE Cross-site scripting (XSS) vulnerability in unspecified administration pages in the Password Policy module 6.x
- CVE-2013-4274 LOW 2.1 DOWNGRADE Cross-site scripting (XSS) vulnerability in the password_policy_admin_view function in password_policy.admin.i
- CVE-2012-5552 MEDIUM 5.0 DOWNGRADE The Password policy module 6.x-1.x before 6.x-1.5 and 7.x-1.x before 7.x-1.3 for Drupal allows remote attacker
- CVE-2012-1633 MEDIUM 6.8 DOWNGRADE Cross-site request forgery (CSRF) vulnerability in the Password Policy module before 6.x-1.4 and 7.x-1.0 beta3
- CVE-2012-1632 LOW 2.1 UPGRADE Cross-site scripting (XSS) vulnerability in password_policy.admin.inc in the Password Policy module before 6.x