Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. kiwitcms
  4. ›
  5. CVE-2023-36809

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

July 5, 2023 (updated July 6, 2023)

Kiwi TCMS, an open source test management system allows users to upload attachments to test plans, test cases, etc. Versions of Kiwi TCMS prior to 12.5 had introduced changes which were meant to serve all uploaded files as plain text in order to prevent browsers from executing potentially dangerous files when such files are accessed directly. The previous Nginx configuration was incorrect allowing certain browsers like Firefox to ignore the Content-Type: text/plain header on some occasions thus allowing potentially dangerous scripts to be executed. Additionally, file upload validators and parts of the HTML rendering code had been found to require additional sanitation and improvements. Version 12.5 fixes this vulnerability with updated Nginx content type configuration, improved file upload validation code to prevent more potentially dangerous uploads, and Sanitization of test plan names used in the tree_view_html() function.

References

  • github.com/advisories/GHSA-jpgw-2r9m-8qfw
  • github.com/kiwitcms/Kiwi/security/advisories/GHSA-jpgw-2r9m-8qfw
  • github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c
  • github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d
  • huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8/
  • huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/
  • kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/
  • nvd.nist.gov/vuln/detail/CVE-2023-36809
  • www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c
  • www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d

Code Behaviors & Features

Detect and mitigate CVE-2023-36809 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 12.5

Fixed versions

  • 12.5

Solution

Upgrade to version 12.5 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/kiwitcms/CVE-2023-36809.yml

Spotted a mistake? Edit the file on GitLab.

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

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