Live threats

All CVEs / Serenity

CVE-2023-31285Serenity Serene

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Serene.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
serenityserene< 6.7.0
serenitystartsharp< 6.7.0

Official sources

References

Links published by the sources. Open them with care.