WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Strange Code Appended to Page Navigation Links on Cached Files (3 posts)

  1. Tranny
    Member
    Posted 1 year ago #

    I'm using twentyeleven theme on my site. I also use WP Super Cache. It's been working out well but over the last few weeks I've noticed strange issue with page navigation buttons. For logged in members (who are not served cached files) everything is fine. But when a guy logs out, the next/previous navigation buttons have the following code appended at the end of the URL:

    ?nsextt=%00'"--></style></script><script>netsparker(0x0000AA)</script>

    Because of this code, all attempts to navigate to older posts are redirected to the home page. If I clear the cache, it works fine even when logged out - but only for a few minutes. As soon as cached files are created, the navigation buttons contain the code at the end and all clicks are as a result redirected to the home page.

    I have already reinstalled WP (using latest version), reinstalled the theme and reinstalled and reactivated WP Super Cache. Still the same thing is happening. Any idea why it is and how to fix it? Was my site injected with a malicious code or something?

    Thanks a lot ;)

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Tranny
    Member
    Posted 1 year ago #

    I just noticed that it doesn't seem to occur on tags or categories, only on main blog pagination (all posts). Non cached version works fine, but for some reason cached files are generated with this code appended to the navigation links.

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not sure where this comes from but I suspect it's cached requests by malicious bots trying to inject code into your site.

    Check "Don’t cache pages with GET parameters" on the advanced settings page. That should help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic