Skip to content

fix for XSS vulnerability - #2437

Merged
xsrust merged 1 commit into
developmentfrom
xss-fix
Mar 23, 2020
Merged

fix for XSS vulnerability#2437
xsrust merged 1 commit into
developmentfrom
xss-fix

Conversation

@briri

@briri briri commented Mar 20, 2020

Copy link
Copy Markdown
Contributor

Added Rails4 monkey patch to address CVE-2020-5267 which is an XSS vulnerability in ActionView's escape_javascript method.

The patch was shared with us from the Dryad team. Thanks @sfisher

Since Rails 4.x is no longer receiving updates we need to patch this ourselves.

We will need to remove this initializer after moving to Rails 5+

@xsrust

xsrust commented Mar 23, 2020

Copy link
Copy Markdown
Contributor

Thanks for pulling this in @briri
Manually patching things like this is another motivator for prioritizing moving to Rails 5.x :)

@xsrust
xsrust merged commit d8668b9 into development Mar 23, 2020
briri added a commit to CDLUC3/dmptool that referenced this pull request Mar 24, 2020
Added Rails4 monkey patch to address XSS vulnerability with (DMPRoadmap#2437)
@xsrust xsrust mentioned this pull request Mar 31, 2020
@briri
briri deleted the xss-fix branch April 20, 2020 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants