Home / Serenity / Serene / CVE-2023-31285
CVE-2023-31285: is it exploited, and which versions of Serenity Serene are affected and fixed?
CVE-2023-31285 is a cross-site scripting (XSS) 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, 19:39 UTC). Affected: Serenity.Net.Core before 6.7.0 and Serenity.Net.Services before 6.7.0 (GitHub advisory GHSA-93h6-wx7r-mgfp). Fixed in 6.7.0 (GitHub advisory GHSA-93h6-wx7r-mgfp). Severity: Medium (6.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-31285?
An XSS issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. When users upload temporary files, some specific file endings are not allowed, but it is possible to upload .html or .htm files containing an XSS payload. The resulting link can be sent to an administrator user.
From the CVE record by mitre, last updated February 13, 2025, 16:49 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-93h6-wx7r-mgfp |
| NuGet | Serenity.Net.Services | < 6.7.0 | 6.7.0 | GHSA-93h6-wx7r-mgfp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 5, 2023. Summary: Cross Site Scripting (XSS) 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-31285?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | 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-31285 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 31, 2025)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
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
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:49 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, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Serene?
- Apr 27, 2023CVE-2023-31287 Serenity Serene: weak password recovery
- Apr 27, 2023CVE-2023-31286 Serenity Serene: information disclosure in error messages
Questions about CVE-2023-31285
Is CVE-2023-31285 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Serenity Serene are affected by CVE-2023-31285?
Serenity.Net.Core before 6.7.0 and Serenity.Net.Services before 6.7.0, per the GitHub advisory GHSA-93h6-wx7r-mgfp. The tables above give every range the sources list.
Which version fixes CVE-2023-31285?
6.7.0, per the GitHub advisory GHSA-93h6-wx7r-mgfp. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-31285?
Medium (6.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-31285?
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.