# CVE-2023-31286: User account enumeration in Serenity

Source: https://junglewise.ai/threats/cve-2023-31286-user-account-enumeration-in-serenity  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-27  
License: CC BY 4.0 with a link back

CVE-2023-31286 · Severity: low · CVSS 3.1 · Published 2023-04-27

User account enumeration in Serenity

Technologies: [Serenity.Net.Core (NuGet)](https://junglewise.ai/threats/technologies/serenity-net-core). Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2023-31286 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-31286 being exploited in the wild.

**How severe is CVE-2023-31286?** Low severity, with a CVSS score of 3.1, published 27 April 2023.

**Which products and versions are affected?** Serenity.Net.Core (NuGet) ECOSYSTEM:introduced=0,fixed=6.7.0; Serenity.Net.Web (NuGet) ECOSYSTEM:introduced=0,fixed=6.7.0.

**Is there a fix for CVE-2023-31286?** Yes. Serenity.Net.Core (NuGet): upgrade to 6.7.0 or later; Serenity.Net.Web (NuGet): upgrade to 6.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-31286?** Check whether you run Serenity.Net.Core (NuGet) or Serenity.Net.Web (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Serenity.Net.Core (NuGet): upgrade to 6.7.0 or later

  ```sh
  dotnet add package Serenity.Net.Core --version 6.7.0
  ```

- Serenity.Net.Web (NuGet): upgrade to 6.7.0 or later

  ```sh
  dotnet add package Serenity.Net.Web --version 6.7.0
  ```


## Affected products

- Serenity.Net.Core (NuGet) ECOSYSTEM:introduced=0,fixed=6.7.0
- Serenity.Net.Web (NuGet) ECOSYSTEM:introduced=0,fixed=6.7.0

## Identifiers

- CVE-2023-31286
- GHSA-w7jm-9x4m-8qc3

## Related threats

- [Serenity cross-site scripting in login page return URL](https://junglewise.ai/threats/cve-2024-26318-serenity-cross-site-scripting-in-login-page-return-url)
- [Insufficient token expiration in Serenity](https://junglewise.ai/threats/cve-2023-31287-insufficient-token-expiration-in-serenity)
- [Cross Site Scripting (XSS) in Serenity](https://junglewise.ai/threats/cve-2023-31285-cross-site-scripting-xss-in-serenity)
