The version of Bootstrap being used is 3.3.7 which has reported XSS vulnerabilities and is coming up in our internal vulernability scans. The fix is supposed to come in the 3.4.0 release, but that seems to have stalled for whatever reason. May need to look at patching it specifically for DRF or do a full upgrade to Bootstrap 4.
DRF bootstrap.min.js:
https://github.com/encode/django-rest-framework/blob/b63099084f471fe3cd477fc5a5aa90cc97fca827/rest_framework/static/rest_framework/js/bootstrap.min.js
Issue report:
https://github.com/twbs/bootstrap/issues/20184
Patch:
https://github.com/twbs/bootstrap/pull/23687
3.4.0 release ticket:
https://github.com/twbs/bootstrap/issues/25679
I'm going to de-milestone this, as pending the long-awaited v.3.4 release of Twitter Bootstrap there's not much we can do. We've been waiting for that release since #5823. We're tracking the upstream issue here https://github.com/twbs/bootstrap/issues/25679#issuecomment-420199818
So https://github.com/twbs/bootstrap/issues/25679#issuecomment-433899778
You can always use the
master-xmr-v3-fixesbranch in the meantime...
It looks like the dist folder there contains everything we need. Anyone care to verify and bundle up a PR?
https://github.com/twbs/bootstrap/tree/master-xmr-v3-fixes/dist
Does anyone has any news regarding when this will get released? I'd hate to have to fork this...
Everyone is still waiting for the Bootstrap release. It was meant to be yesterday.
Looks like 3.4.0 has been released:
https://github.com/twbs/bootstrap/pull/27288
@georgeliaw Super. Fancy doing a PR to update the files? Thanks!
Any plans on merging the opened PR and creating the actual release to pull from pypi?
Yup, it'll come when it comes.