Skip to content
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

Use of append() in EditorContainer.js #543

Open
philipjohn opened this issue Oct 16, 2018 · 0 comments
Open

Use of append() in EditorContainer.js #543

philipjohn opened this issue Oct 16, 2018 · 0 comments

Comments

@philipjohn
Copy link
Contributor

Similar to #526 we need to review the usage of .append() to ensure that the output is adequately escaped.

FILE: /home/philipjohn/plugins/liveblog/src/react/containers/EditorContainer.js
-----------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------------
 202 | ERROR | Any HTML passed to `append` gets executed. Make sure it's properly escaped.
     |       | (WordPressVIPMinimum.JS.HTMLExecutingFunctions.append)
 204 | ERROR | Any HTML passed to `append` gets executed. Make sure it's properly escaped.
     |       | (WordPressVIPMinimum.JS.HTMLExecutingFunctions.append)
 205 | ERROR | Any HTML passed to `append` gets executed. Make sure it's properly escaped.
     |       | (WordPressVIPMinimum.JS.HTMLExecutingFunctions.append)
-----------------------------------------------------------------------------------------------------------------

Time: 7.59 secs; Memory: 22Mb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants