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

Malicious inputs are not sanitized when using [align] #25

Closed
HeikoBornholdt opened this issue Mar 7, 2014 · 2 comments
Closed

Malicious inputs are not sanitized when using [align] #25

HeikoBornholdt opened this issue Mar 7, 2014 · 2 comments

Comments

@HeikoBornholdt
Copy link

Hi Craig 😃 ,

malicious inputs are not sanitized when using align-tag.

The input

[align=left css-selector]sadsad[/align]

results in

    <span class="bb-ruby_align_left css-selector" style="float:left css-selector;">sadsad</span>

That means, I can pass every css selector which can results in a destroyed page layout.

@cpjolicoeur
Copy link
Owner

Please submit a pull request with a tested fix and I'll issue a new release.

@cpjolicoeur
Copy link
Owner

closing due to lack of follow-up

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