Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowing style attribute is not safe #32

Open
espretto opened this issue Jul 29, 2022 · 1 comment
Open

allowing style attribute is not safe #32

espretto opened this issue Jul 29, 2022 · 1 comment

Comments

@espretto
Copy link

CSS can be harmful and must be sanitized w/ e.g. cssfilter. It is not a safe default setting to allow the style attribute.

allowedAttrs: ['style'],

@acrazing
Copy link
Owner

Can you specifically explain why css is not safe? It means that it will lead to disordered page styles?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants