About 70 results
Open links in new tab
  1. css - What are the risks associated with using inline styles? - Stack ...

    Jan 29, 2017 · A Content Security Policy with a default-src or style-src directive will prevent inline styles from being applied to <style> elements or style attributes. To allow the use of inline …

  2. What is CSS injection and how to prevent it? - Stack Overflow

    Jan 2, 2022 · CSS Injection occurs when an attacker injects malicious CSS code into your web application but there is not any security impact for this vulnerability, but it may lead to …

  3. How dangerous is it to use CSS styles from an untrusted source?

    It is not advisable to use CSS styles from a source you don't trust, without some sort of review. There are some risks, particularly on older browsers. Some older browsers provide a way to …

  4. css - -webkit-text-security compatibility - Stack Overflow

    2 -webkit-text-security works in Firefox since version 114 which was released in June 2023.

  5. xss - Information Security Stack Exchange

    Feb 28, 2017 · Inline scripts and styles are just a kind of language (CSS/JavaScript) embedded in another language (HTML). Why are they not allowed by default under content security policy?

  6. Jenkins - HTML Publisher Plugin - No CSS is displayed when …

    Mar 4, 2016 · Everyone is saying you "fix" it by disabling the Content Security Policy, without any thought as to why it's there in the first place. Anyone who can affect the changes to be built will …

  7. css - Refused to apply inline style because it violates Content ...

    Jan 28, 2025 · Refused to apply inline style because it violates Content Security Policy (using hash for JQuery inline style) Asked 10 months ago Modified 9 months ago Viewed 366 times

  8. css - CSP style-src: 'unsafe-inline' - is it worth it? - Stack Overflow

    Jun 12, 2015 · Personally I find not using unsafe-inline for CSS is impractical. It means I have to use an external style sheet file for EVERY style. Coloring text, centering text etc. It can be …

  9. Is there any danger in loading external, third-party CSS?

    Jun 21, 2011 · This is likely obsolete, but may still be relevant in rare cases. any css attack yet to be developed (trusting 3rd party css opens you up to any and all future css zero-days if the 3rd …

  10. agGrid React: CSS blocked "refused to apply inline style"

    Mar 27, 2025 · The reason why the agGrids in our React app were not using the agGrid CSS when deployed was because our company had insisted on a firm Content-Security-Policy …