Home / Serenity / Serene / CVE-2023-31287
CVE-2023-31287: is it exploited, and which versions of Serenity Serene are affected and fixed?
CVE-2023-31287 is a weak password recovery vulnerability in Serenity Serene. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Serenity.Net.Core before 6.7.0 and Serenity.Net.Web before 6.7.0 (GitHub advisory GHSA-2hp9-3xfr-r9w2). Fixed in 6.7.0 (GitHub advisory GHSA-2hp9-3xfr-r9w2). Severity: High (7.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-31287?
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.
From the CVE record by mitre, last updated February 13, 2025, 16:50 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | Serenity.Net.Core | < 6.7.0 | 6.7.0 | GHSA-2hp9-3xfr-r9w2 |
| NuGet | Serenity.Net.Web | < 6.7.0 | 6.7.0 | GHSA-2hp9-3xfr-r9w2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 31, 2025. Summary: Insufficient token expiration in Serenity.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| serenity | serene | before 6.7.0 | application |
| serenity | startsharp | before 6.7.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:56 UTC.
How severe is CVE-2023-31287?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-31287 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 31, 2025)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-640 Weak Password Recovery Mechanism for Forgotten Password
Where are the vendor advisories and references?
- https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2
- 20230529 SEC Consult SA-20230516-0 :: Multiple Vulnerabilities in Serenity and StartSharp Software mailing-list
- http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html
- https://packetstorm.news/files/id/172648 exploit
When was it published, and where is the official record?
- Reserved
- April 27, 2023
- Published
- April 27, 2023, 00:00 UTC
- CVE record updated
- February 13, 2025, 16:50 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 05:56 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Serene?
- Apr 27, 2023CVE-2023-31286 Serenity Serene: information disclosure in error messages
- Apr 27, 2023CVE-2023-31285 Serenity Serene: cross-site scripting (XSS)
Questions about CVE-2023-31287
Is CVE-2023-31287 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Serenity Serene are affected by CVE-2023-31287?
Serenity.Net.Core before 6.7.0 and Serenity.Net.Web before 6.7.0, per the GitHub advisory GHSA-2hp9-3xfr-r9w2. The tables above give every range the sources list.
Which version fixes CVE-2023-31287?
6.7.0, per the GitHub advisory GHSA-2hp9-3xfr-r9w2. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-31287?
High (7.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-31287?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.