{"id":"CVE-2023-31285","published":"2023-04-27T00:00:00Z","modified":"2025-02-13T16:49:49Z","title":"An XSS issue was discovered in Serenity Serene (and StartSharp) before 6.7.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00633,"percentile":0.44832,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2","tags":[]},{"url":"http://seclists.org/fulldisclosure/2023/May/14","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-31T19:49:26.247505Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Serenity.Net.Core","vulnerableRanges":["<6.7.0"],"patched":["6.7.0"],"from":["GHSA-93h6-wx7r-mgfp"],"provenance":"source"},{"ecosystem":"NuGet","package":"Serenity.Net.Services","vulnerableRanges":["<6.7.0"],"patched":["6.7.0"],"from":["GHSA-93h6-wx7r-mgfp"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the Serenity Serene (and StartSharp) web framework before version 6.7.0 lets the temporary file upload feature accept .html and .htm files that contain script payloads, even though some other file extensions are blocked. An unauthenticated remote attacker can exploit this by getting a crafted link to an administrator user, who must open it, so user interaction is required and no prior authentication is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:05Z"},"euvd":{"id":"EUVD-2023-1246","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html"]}