Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Serenity.Net.Core
  4. ›
  5. CVE-2023-31285

CVE-2023-31285: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

April 27, 2023

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.

References

  • github.com/advisories/GHSA-93h6-wx7r-mgfp
  • github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2
  • github.com/serenity-is/Serenity/commit/f54e9bfcf8ceb7f26f81a7362349bc1f63251d92
  • github.com/serenity-is/serene/commit/6dce8162f4382badd429a9f0f1470acb64e8c4fd
  • nvd.nist.gov/vuln/detail/CVE-2023-31285

Code Behaviors & Features

Detect and mitigate CVE-2023-31285 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.7.0

Fixed versions

  • 6.7.0

Solution

Upgrade to version 6.7.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

nuget/Serenity.Net.Core/CVE-2023-31285.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.