MantisBT: master-2.21 9cee1971

Author Committer Branch Timestamp Parent
dregad dregad master-2.21 2019-08-15 00:53 master-2.21 a6136137
Affected Issues  0025995: CVE-2019-15074: Stored XSS Vulnerability in Timeline
Changeset

Fix XSS on timeline (CVE-2019-15074)

Kamran Saifullah reported a stored cross-site scripting (XSS)
vulnerability in Timeline, allowing execution of arbitrary code (if CSP
settings permit it) after uploading an attachment with a crafted
filename. The code is executed for any user having visibility to the
issue, whenever My View Page is displayed.

Prevent the attack by sanitizing the filename before display.

Fixes 0025995

mod - core/classes/IssueAttachmentTimelineEvent.class.php Diff File