CVE-2023-31287Serenity Serene
High 7.8
Follow: this CVE · Serenity · Serenity Serene We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 17
- Auth required
- Yes
- Published
- Apr 27, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-640
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. Password reset links are sent by email. A link contains a token that is used to reset the password. This token remains valid even after the password reset and can be used a second time to change the password of the corresponding user. The token expires only 3 hours after issuance and is sent as a query parameter when resetting. An attacker with access to the browser history can thus use the token again to change the password in order to take over the account.
What to do
- Apply the vendor's security update for Serene.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Serenity.Net.Core |
< 6.7.0 |
6.7.0 |
dotnet add package Serenity.Net.Core --version 6.7.0 |
| NuGet | Serenity.Net.Web |
< 6.7.0 |
6.7.0 |
dotnet add package Serenity.Net.Web --version 6.7.0 |
Per OSV / GitHub Advisories (GHSA-2hp9-3xfr-r9w2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| serenity | serene | < 6.7.0 |
| serenity | startsharp | < 6.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- seclists.org
- github.com Patch Vendor Advisory
- packetstorm.news