-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
generator: Add nonce support for style tags #792
Comments
maersu
changed the title
Add nonce support for style tags
Proposal: Add nonce support for style tags
Jun 14, 2024
joerdav
added
enhancement
New feature or request
generator
NeedsImplementation
Needs implementation
labels
Jun 14, 2024
joerdav
changed the title
Proposal: Add nonce support for style tags
generator: Add nonce support for style tags
Jun 14, 2024
linear
bot
added
Migrated
and removed
enhancement
New feature or request
Migrated
NeedsImplementation
Needs implementation
generator
labels
Sep 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the awesome templ package!
With v0.2.707, there was the introduction of adding nonce to the script tag. It would be perfect to add it for style tags as well since they also support nonce.
While inline styles are handy, they also allow some CSS injection if a hacker can inject an inline style into the HTML.
The text was updated successfully, but these errors were encountered: