{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31285","published":"2023-04-27T03:15:10.107000Z","last_modified":"2026-06-17T05:56:43.173000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:serenity:serene:*:*:*:*:*:*:*:*","part":"a","vendor":"serenity","product":"serene","version_end_excluding":"6.7.0"},{"criteria":"cpe:2.3:a:serenity:startsharp:*:*:*:*:*:*:*:*","part":"a","vendor":"serenity","product":"startsharp","version_end_excluding":"6.7.0"}],"cpes_truncated":false,"vendors":["serenity"],"products":["serenity/serene","serenity/startsharp"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00785,"percentile":0.57306,"date":"2026-12-02","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-93h6-wx7r-mgfp","ecosystem":"NuGet","name":"Serenity.Net.Core","purl":"pkg:nuget/Serenity.Net.Core","ranges":[{"introduced":"0","fixed":"6.7.0"}],"versions":["5.0.0","5.0.1","5.0.10","5.0.11","5.0.12","5.0.13","5.0.17","5.0.18","5.0.19","5.0.2","5.0.20","5.0.21","5.0.22","5.0.23","5.0.24","5.0.25","5.0.26","5.0.27","5.0.28","5.0.29","5.0.3","5.0.30","5.0.31","5.0.32","5.0.33","5.0.34","5.0.35","5.0.36","5.0.37","5.0.38","5.0.39","5.0.4","5.0.40","5.0.41","5.0.42","5.0.43","5.0.44","5.0.45","5.0.46","5.0.47","5.0.48","5.0.49","5.0.5","5.0.50","5.0.51","5.0.6","5.0.7","5.0.8","5.0.9","5.1.0","5.1.1","5.1.2","5.1.3","5.2.0","5.2.1","5.2.2","5.2.3","5.2.4","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.0.8","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.2.0","6.2.1","6.2.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9","6.3.0","6.3.1","6.3.2","6.3.3","6.3.4","6.3.5","6.3.6","6.4.0","6.4.1","6.4.10","6.4.2","6.4.3","6.4.4","6.4.6","6.4.7","6.4.8","6.4.9","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","6.6.0","6.6.1","6.6.2","6.6.3","6.6.4","6.6.5","6.6.6"],"versions_truncated":false},{"advisory":"GHSA-93h6-wx7r-mgfp","ecosystem":"NuGet","name":"Serenity.Net.Services","purl":"pkg:nuget/Serenity.Net.Services","ranges":[{"introduced":"0","fixed":"6.7.0"}],"versions":["5.0.0","5.0.1","5.0.10","5.0.11","5.0.12","5.0.13","5.0.17","5.0.18","5.0.19","5.0.2","5.0.20","5.0.21","5.0.22","5.0.23","5.0.24","5.0.25","5.0.26","5.0.27","5.0.28","5.0.29","5.0.3","5.0.30","5.0.31","5.0.32","5.0.33","5.0.34","5.0.35","5.0.36","5.0.37","5.0.38","5.0.39","5.0.4","5.0.40","5.0.41","5.0.42","5.0.43","5.0.44","5.0.45","5.0.46","5.0.47","5.0.48","5.0.49","5.0.5","5.0.50","5.0.51","5.0.6","5.0.7","5.0.8","5.0.9","5.1.0","5.1.1","5.1.2","5.1.3","5.2.0","5.2.1","5.2.2","5.2.3","5.2.4","6.0.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.0.8","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.2.0","6.2.1","6.2.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9","6.3.0","6.3.1","6.3.2","6.3.3","6.3.4","6.3.5","6.3.6","6.4.0","6.4.1","6.4.10","6.4.2","6.4.3","6.4.4","6.4.6","6.4.7","6.4.8","6.4.9","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","6.6.0","6.6.1","6.6.2","6.6.3","6.6.4","6.6.5","6.6.6"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2023-31285/","html_en":"/en/cve/CVE-2023-31285/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31285","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31285"},"untrusted":{"vendor_name":"Serenity","product_name":"Serene","desc_en":"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.","affected":[],"references":[{"url":"http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html","tags":[]},{"url":"http://seclists.org/fulldisclosure/2023/May/14","tags":[]},{"url":"https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2","tags":["Patch","Vendor Advisory"]}]}}