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

Security: remove inline CSS and inline fonts using data: URL #140

Open
TobiasKrais opened this issue Jan 29, 2025 · 0 comments
Open

Security: remove inline CSS and inline fonts using data: URL #140

TobiasKrais opened this issue Jan 29, 2025 · 0 comments

Comments

@TobiasKrais
Copy link
Contributor

Currently I need to add additional rules for my Content-Security-Policy because of aieditor:
Content-Security-Policy: default-src 'self'; font-src 'self' data:; style-src 'self' 'unsafe-inline'

Content-Security-Policy: default-src 'self' does not work, because woff file and inline CSS is included in JS. Please fix this security issue. Please move inline CSS to CSS file and inline font to extrenal font file

@TobiasKrais TobiasKrais changed the title Better XSS protection Security: remove inline CSS and inline fonts using data: URL Jan 29, 2025
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

1 participant