Live threats

All CVEs / Serenity

CVE-2023-31287Serenity Serene

High 7.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Serene.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
serenityserene< 6.7.0
serenitystartsharp< 6.7.0

Official sources

References

Links published by the sources. Open them with care.