Bug 1529728 - marked: Cross-site Scripting (XSS) attacks via hexadecimal form of HTML
Summary: marked: Cross-site Scripting (XSS) attacks via hexadecimal form of HTML
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1529729 1529730
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-29 16:52 UTC by Laura Pardo
Modified: 2020-05-31 07:28 UTC (History)
1 user (show)

Fixed In Version: marked 0.3.9
Clone Of:
Environment:
Last Closed: 2019-06-08 03:35:56 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.