Bug 1529728

Summary: marked: Cross-site Scripting (XSS) attacks via hexadecimal form of HTML
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:56 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: 1529729, 1529730    
Bug Blocks:    

Description Laura Pardo 2017-12-29 16:52:48 UTC
A flaw was found in marked, a markdown parser and compiler used for rendering markdown content to html. Affected versions of the package are vulnerable to Cross-site Scripting (XSS) attacks.
Browsers support both lowercase and uppercase x in hexadecimal form of HTML character entity, but marked unescaped only lowercase.

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

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

Comment 1 Laura Pardo 2017-12-29 16:59:03 UTC
Created marked tracking bugs for this issue:

Affects: epel-all [bug 1529730]
Affects: fedora-all [bug 1529729]

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