Bug 1529736

Summary: marked: Cross-site Scripting (XSS) via autolink with mangling disabled
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: tchollingsworth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: marked 0.3.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:35:58 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: 1529737, 1529738    
Bug Blocks:    

Description Laura Pardo 2017-12-29 17:27:59 UTC
A flaw was found in marked. When mangling is disabled via option mangle, marked doesn't escape target href. This may allow an attacker to create new tags and inject arbitrary html-event.


[UPSTREAM BUG]
https://github.com/chjj/marked/issues/926

[UPSTREAM PATCH]
https://github.com/UziTech/marked/commit/cb72584c5d9d32ebfdbb99e35fb9b81af2b79686

Comment 1 Laura Pardo 2017-12-29 17:28:20 UTC
Created marked tracking bugs for this issue:

Affects: epel-all [bug 1529738]
Affects: fedora-all [bug 1529737]

Comment 2 Product Security DevOps Team 2019-06-08 03:35:58 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.