CVE-2023-31285
Cross Site Scripting (XSS) in Serenity
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2023-31285- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List
6.1
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.
- Record
CVE-2023-31285- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2023-1246
6.1
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.
- Record
EUVD-2023-1246- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-93h6-wx7r-mgfp
6.1
Cross Site Scripting (XSS) in Serenity
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.
- Record
GHSA-93h6-wx7r-mgfp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2023-31285- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-93h6-wx7r-mgfp
6.1
Cross Site Scripting (XSS) in Serenity
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.
- Record
GHSA-93h6-wx7r-mgfp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
Serenity.Net.CoreNuGet |
before 6.7.0 | 6.7.0 |
Serenity.Net.ServicesNuGet |
before 6.7.0 | 6.7.0 |
Serenity.Net.CoreNuGet |
before 6.7.0, plus listed versions 5.0.05.0.15.0.105.0.115.0.12 Show 45 moreShow less5.0.135.0.175.0.185.0.195.0.25.0.205.0.215.0.225.0.235.0.245.0.255.0.265.0.275.0.285.0.295.0.35.0.305.0.315.0.325.0.335.0.345.0.355.0.365.0.375.0.385.0.395.0.45.0.405.0.415.0.425.0.435.0.445.0.455.0.465.0.475.0.485.0.495.0.55.0.505.0.515.0.65.0.75.0.85.0.95.1.0 |
6.7.0 |
Serenity.Net.ServicesNuGet |
before 6.7.0, plus listed versions 5.0.05.0.15.0.105.0.115.0.12 Show 45 moreShow less5.0.135.0.175.0.185.0.195.0.25.0.205.0.215.0.225.0.235.0.245.0.255.0.265.0.275.0.285.0.295.0.35.0.305.0.315.0.325.0.335.0.345.0.355.0.365.0.375.0.385.0.395.0.45.0.405.0.415.0.425.0.435.0.445.0.455.0.465.0.475.0.485.0.495.0.55.0.505.0.515.0.65.0.75.0.85.0.95.1.0 |
6.7.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-31285 is a medium vulnerability (CVSS 6.1) in Serenity Serene, published April 27, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.78%, the 56th percentile. Fixed in Serenity.Net.Core 6.7.0.
References
github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2
seclists.org/fulldisclosure/2023/May/14
packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html
nvd.nist.gov/vuln/detail/CVE-2023-31285
github.com/serenity-is/Serenity/commit/f54e9bfcf8ceb7f26f81a7362349bc1f63251d92
github.com/serenity-is/serene/commit/6dce8162f4382badd429a9f0f1470acb64e8c4fd
github.com/advisories/GHSA-93h6-wx7r-mgfp
github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31285.json
github.com/serenity-is/Serenity
Left out here: 132 versions. The JSON record has them.