Every CVE Search/ Get API key

CVE-2023-31285

Cross Site Scripting (XSS) in Serenity

6.1 MediumFix available

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

0.78%Up 0.7 points since Apr 27, 2023
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
Serenity.Net.Core
NuGet
before 6.7.0
6.7.0
Serenity.Net.Services
NuGet
before 6.7.0
6.7.0
Serenity.Net.Core
NuGet
before 6.7.0, plus listed versions
5.0.05.0.15.0.105.0.115.0.12
Show 45 moreShow less
5.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.Services
NuGet
before 6.7.0, plus listed versions
5.0.05.0.15.0.105.0.115.0.12
Show 45 moreShow less
5.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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

This page doesn't list everything

Left out here: 132 versions. The JSON record has them.

MoveEnter Open