SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Virus in CSS?

  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    97
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Virus in CSS?

    I guess I've never thought about this, but...

    Can CSS contain any executable code, as in an injected virus?

    I'm trying to help a company that is utterly riddled with it in WP. I'm proposing a rebuild rather than a cleanse but just want to cover this base.

    Paul

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,198
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    CSS is a browser side language there for the only way you would be able to execute harmful code in it would be to re-name the file to something like .exe or .php, If the CSS files you are looking at have been altered then it's due to poor server security or not keeping WordPress up to date.

  3. #3
    SitePoint Wizard bronze trophy Jeff Mott's Avatar
    Join Date
    Jul 2009
    Posts
    1,314
    Mentioned
    19 Post(s)
    Tagged
    1 Thread(s)
    The closest you can get to a virus in CSS is IE's expressions. Though, they are being phased out.
    "First make it work. Then make it better."

  4. #4
    SitePoint Enthusiast
    Join Date
    Jul 2012
    Location
    Tucson, AZ
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Was it a Pharma-hack by chance? I've had some experience cleaning those up. It's no fun.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •