D
D
Dokuro2015-09-18 23:05:04
css
Dokuro, 2015-09-18 23:05:04

Is it possible to somehow harm if you have access to CSS?

There is a site where I can change the CSS code. Is it possible to somehow harm the site?
Is it possible to embed in CSS, for example, JS that will execute or something like that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Lebedev, 2015-09-18
@swanrnd

The question is what do we mean by the word harm.
Here is a simple and good one.

html::before {
    content: 'Сайт переехал: http://ya.ru/';
  }
  body {
    display:none;
  }

F
FMars, 2015-09-18
@FMars

No. Only appearance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question