mpulsemobile / doccano

Open source text annotation tool for machine learning practitioner.
https://doccano.herokuapp.com
MIT License
0 stars 0 forks source link

WS-2019-0025 (Medium) detected in marked-0.3.19.js - autoclosed #19

Closed mend-for-github-com[bot] closed 3 years ago

mend-for-github-com[bot] commented 4 years ago

WS-2019-0025 - Medium Severity Vulnerability

Vulnerable Library - marked-0.3.19.js

A markdown parser built for speed

Library home page: https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.19/marked.js

Path to dependency file: doccano/app/server/static/node_modules/marked/www/demo.html

Path to vulnerable library: doccano/app/server/static/node_modules/marked/www/../lib/marked.js

Dependency Hierarchy: - :x: **marked-0.3.19.js** (Vulnerable Library)

Vulnerability Details

Versions 0.3.7 and earlier of marked When mangling is disabled via option mangle don't escape target href. This allow attacker to inject arbitrary html-event into resulting a tag.

Publish Date: 2017-12-23

URL: WS-2019-0025

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://github.com/markedjs/marked/commit/cb72584c5d9d32ebfdbb99e35fb9b81af2b79686

Release Date: 2019-03-17

Fix Resolution: 0.3.9

mend-for-github-com[bot] commented 3 years ago

:information_source: This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #20