Skip to content

Fix potential security vulnerability in javascript (cloned from codemirror/CodeMirror)#2878

Open
Mifacopy wants to merge 1 commit intoHelloZeroNet:py3from
Mifacopy:codeclone-detection/ZeroNet-55d03339
Open

Fix potential security vulnerability in javascript (cloned from codemirror/CodeMirror)#2878
Mifacopy wants to merge 1 commit intoHelloZeroNet:py3from
Mifacopy:codeclone-detection/ZeroNet-55d03339

Conversation

@Mifacopy
Copy link

This PR fixes a potential security vulnerability in javascript that was cloned from codemirror/CodeMirror but did not receive the upstream security patch.

Details

  • Affected File/Function: javascript in plugins/UiFileManager/media/codemirror/mode/javascript.js
  • Original Fix: 55d033390711
  • Similarity to vulnerable code: 100.0%
  • CVE: CVE-2020-7760

What this PR does

Applies the same security patch that was applied to the original repository (codemirror/CodeMirror) to eliminate the potential vulnerability in the cloned code.

References

Please review and merge to protect this repository against the potential vulnerability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant