CKeditor has empty node body for some nodes On Drupal 7.52 and ckeditor module 1.17 (library version 4.6.1) and this is driving me insane. Here's a list of things I've noticed and tried:


Seems to primarily happen with unpublished nodes but not all unpublished nodes seem to have it. I have been testing using account 1 which has all privileges so I doubt it's permission related.
If I refresh the page, I can see the node body show up where ckeditor would be for half a second. When ckeditor loads it's gone though.
Checking the page source I can in fact find the textarea with the entire node body, so it is being sent to the browser.
No errors at all on the browser's console.
Can get in both Chrome and Firefox.
Disabling ckeditor makes the node body viewable again, re-enabling brings me back to the same problems.
Typing something on the empty ckeditor field, going to plain text mode and I can see the HTML, then going back to rich text mode and it's all gone again! This behavior happens when creating new nodes as well, but not with already published nodes that show the node body from the beginning. This also produces no console errors!
Updated ckeditor from 4.5.9 to 4.6.1.


Anyone have any ideas as to things I can test to pinpoint this problem?
If anyone is ever having this problem, you should check your response headers for requests sent by ckeditor. It will attempt to send a request to /ckeditor/xss to run XSS filters and if that fails it will silently just hide the entire contents of the form. In the response header I noticed a Location parameter that is only available when the form fails. The location parameter was: /user/login?destination=ckeditor/xss. This obviously means that ckeditor's request for the XSS filters is being intercepted by some other module and sending it to the login page.

In my case, the problematic content was unpublished nodes. I have yet to find the exact module causing the redirect for ckeditor, but disabling the XSS scan in includes/ckeditor.utils.js on line 163 worked perfectly to solve all my issues (seen on post #9 here https://www.drupal.org/node/2069871)