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

Allow b tag and style attribute #1677

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Allow b tag and style attribute #1677

merged 1 commit into from
Mar 14, 2018

Conversation

Rokt33r
Copy link
Member

@Rokt33r Rokt33r commented Mar 14, 2018

No description provided.

@Rokt33r Rokt33r merged commit 826a67b into master Mar 14, 2018
@Rokt33r Rokt33r deleted the allow-more branch March 14, 2018 04:09
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'h7', 'h8', 'br', 'b', 'i', 'strong', 'em', 'a', 'pre', 'code', 'img', 'tt',
'div', 'ins', 'del', 'sup', 'sub', 'p', 'ol', 'ul', 'table', 'thead', 'tbody', 'tfoot', 'blockquote',
'dl', 'dt', 'dd', 'kbd', 'q', 'samp', 'var', 'hr', 'ruby', 'rt', 'rp', 'li', 'tr', 'td', 'th', 's', 'strike', 'summary', 'details'
],
allowedAttributes: {
'*': [
'style',
Copy link
Contributor

Choose a reason for hiding this comment

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

After taking some time to reflect, I feel in my heart that this is very tempting but a bad idea. Please see #1672 (comment) where I try to explain that it doesn't matter that you cannot do a known xss. style is a known problematic attribute, and a potent target for new exploits.

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

Successfully merging this pull request may close these issues.

2 participants