Skip to content
New issue

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

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

Already on GitHub? # to your account

Sanitize HTML content in data-trix-* attributes #1149

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

afcapel
Copy link
Contributor

@afcapel afcapel commented May 1, 2024

Prevents XSS attacks by crafting a malicious HTML content in the data-trix-* attributes.

@afcapel afcapel force-pushed the paste-html-sanitize branch from 58290a9 to aec8644 Compare May 1, 2024 13:56
lewispb and others added 2 commits May 1, 2024 14:58
Prevents XSS attacks by crafting a malicious HTML content in the
data-trix-* attributes.
@afcapel afcapel force-pushed the paste-html-sanitize branch from aec8644 to 14bac18 Compare May 1, 2024 13:58
@afcapel afcapel requested a review from lewispb May 1, 2024 14:06
Copy link
Member

@lewispb lewispb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thanks for looking at this @afcapel

@afcapel afcapel merged commit 1a5c68a into main May 1, 2024
1 check passed
@afcapel afcapel deleted the paste-html-sanitize branch May 1, 2024 14:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants