Bug 1868441 (CVE-2020-16266)

Summary: CVE-2020-16266 mantis: HTML injection (maybe XSS) via custom field on view_all_bug_page.php
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: giallu
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-12 21:15:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1868442    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-08-12 17:16:59 UTC
An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).

References:
https://mantisbt.org/bugs/view.php?id=27056
https://mantisbt.org/blog/archives/mantisbt/665

Comment 1 Guilherme de Almeida Suckevicz 2020-08-12 17:20:22 UTC
Created mantis tracking bugs for this issue:

Affects: fedora-all [bug 1868442]

Comment 2 Product Security DevOps Team 2020-08-12 21:15:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.