ImpressCMS / impresscms

A multilingual, extensible, community oriented CMS developed in PHP
https://www.impresscms.org
Other
27 stars 35 forks source link

WS-2018-0021 (Medium) detected in bootstrap-2.0.0.min.js #437

Closed mend-bolt-for-github[bot] closed 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

WS-2018-0021 - Medium Severity Vulnerability

Vulnerable Library - bootstrap-2.0.0.min.js

The most popular front-end framework for developing responsive, mobile first projects on the web.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.0/bootstrap.min.js

Path to vulnerable library: /impresscms/htdocs/libraries/phpmailer/vendor/phpdocumentor/phpdocumentor/data/templates/responsive/js/bootstrap.min.js,/impresscms/htdocs/libraries/phpmailer/vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Plugin/Scrybe/data/templates/default/js/bootstrap.min.js

Dependency Hierarchy: - :x: **bootstrap-2.0.0.min.js** (Vulnerable Library)

Found in HEAD commit: 52ca963c2c62a930b5d996a4e8b03c955feede32

Vulnerability Details

XSS in data-target in bootstrap (3.3.7 and before)

Publish Date: 2017-06-27

URL: WS-2018-0021

CVSS 2 Score Details (6.5)

Base Score Metrics not available

Suggested Fix

Type: Change files

Origin: https://github.com/twbs/bootstrap/commit/d9be1da55bf0f94a81e8a2c9acf5574fb801306e

Release Date: 2017-08-25

Fix Resolution: Replace or update the following files: alert.js, carousel.js, collapse.js, dropdown.js, modal.js


Step up your Open Source Security Game with WhiteSource here

fiammybe commented 5 years ago

Isn't this part of 2.0? I see that it's in the vendor folder (and it's a dev package, even).

MekDrop commented 5 years ago

i think this comes from old phpmailer

skenow commented 5 years ago

I don't even see the referenced path in the 1.4 code - Path to vulnerable library: /impresscms/htdocs/libraries/phpmailer/vendor/phpdocumentor/phpdocumentor/data/templates/responsive/js/bootstrap.min.js

MekDrop commented 5 years ago

I think it's comming from composer.json in phpmailer lib. We don't use anywhere in 1.4 phpdocumentor so I think it would be possible to remove that file as a fix.