Security mailing lists by PureSourceCode

CVE-2023-31287

HIGH 7.8CVSS 3.1

Insufficient token expiration in Serenity

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.

Published
27 Apr 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-640
Also known as
GHSA-2hp9-3xfr-r9w2
Sources
NVDJSONOSV GHSA-2hp9-3xfr-r9w2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD serenity serene
cpe:2.3:a:serenity:serene:*:*:*:*:*:*:*:*
< 6.7.0 6.7.0
NVD serenity startsharp
cpe:2.3:a:serenity:startsharp:*:*:*:*:*:*:*:*
< 6.7.0 6.7.0
OSV NuGet Serenity.Net.Core < 6.7.0 6.7.0
OSV NuGet Serenity.Net.Web < 6.7.0 6.7.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 Apr 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.