-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text pasted from clipboard is evaluated as HTML #1073
Comments
The problem is that we use a |
Is there a priority or target that you could say this issue would be resolved by? Mainly to evaluate our project's timelines for getting a fix in. |
We are currently looking into the issue and building a fix. |
This prevents the evaluation of arbitrary JavaScript when pasting HTML code into the edit box such as ```javascript <video src=1 onerror=alert('hueh')> ``` Related to bpmn-io/bpmn-js#1073
Upstream fix, currently in review: bpmn-io/diagram-js-direct-editing#13. |
This prevents the evaluation of arbitrary JavaScript when pasting HTML code into the edit box such as ```javascript <video src=1 onerror=alert('hueh')> ``` Related to bpmn-io/bpmn-js#1073
Released fix as |
See security notice for further details. |
Describe the Bug
Pasting HTML text anywhere that allows text input in the modeler evaluates the HTML as is, creating a potential XSS vulnerability.
Steps to Reproduce
Steps to reproduce the behavior:
<video src=1 onerror=alert('hueh')>
Observe displayed alert. The issue is reproducible on the demo site.
Expected Behavior
HTML clipboard content should not be evaluated.
Environment
Please complete the following information:
The text was updated successfully, but these errors were encountered: