CVE-2023-31285 json
Cross Site Scripting (XSS) in Serenity
published 3y ago modified 4mo ago also GHSA-93h6-wx7r-mgfp , EUVD-2023-1246
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Serenity.Net.Core 6.7.0
- nuget Serenity.Net.Services 6.7.0
- serenity serene 6.7.0
- serenity startsharp 6.7.0
Is CVE-2023-31285 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Serenity.Net.Core | <6.7.0 |
6.7.0 |
| nuget | Serenity.Net.Services | <6.7.0 |
6.7.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2
web, patch, vendor-advisory
-
github.com
/serenity-is/Serenity/commit/f54e9bfcf8ceb7f26f81a7362349bc1f63251d92
web
-
github.com
/serenity-is/serene/commit/6dce8162f4382badd429a9f0f1470acb64e8c4fd
web
-
seclists.org
/fulldisclosure/2023/May/14
mailing-list, web
-
packetstormsecurity.com
/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-31285
advisory
-
github.com
/serenity-is/Serenity
package
Sources
- CVE List CVE-2023-31285
- GitHub Advisory GHSA-93h6-wx7r-mgfp
- NVD CVE-2023-31285
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.