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

Node insert doesn't execute scripts #1945

kingback opened this Issue Aug 18, 2014 · 0 comments


None yet
1 participant
    <div class="container"></div>
        YUI().use('node', function(Y) {
  'div').append('<p><script>alert(1);</' + 'script></p>');

there're 2 bugs here:

  1. html was appended to div.yui3-css-stamp, not div.container
  2. the contents in <script> tag doesn't execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment