The issue affects the Project Documentation feature, specifically the proj doc edit page.php file, allowing for a stored cross-site scripting (XSS) attack. This occurs when an attachment with a specially crafted filename is uploaded. The arbitrary code is executed when the document's page is edited, provided the Content Security Policy (CSP) settings permit it.