CVE-2023-31285Serenity Serene
Medium 6.1 No auth needed
Follow: this CVE · Serenity · Serenity Serene We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Apr 27, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Serene.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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.Services |
< 6.7.0 |
6.7.0 |
dotnet add package Serenity.Net.Services --version 6.7.0 |
Per OSV / GitHub Advisories (GHSA-93h6-wx7r-mgfp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| serenity | serene | < 6.7.0 |
| serenity | startsharp | < 6.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- seclists.org
- github.com Patch Vendor Advisory