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

Opt-out iframe customiser: accept single and double quotes characters in fontFamily #12494

Merged
merged 1 commit into from Mar 23, 2018

Conversation

mattab
Copy link
Member

@mattab mattab commented Jan 22, 2018

No description provided.

@mattab mattab added this to the 3.3.1 milestone Jan 22, 2018
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Jan 22, 2018
@mattab mattab changed the title Opt-out iframe customiser: accept " character in fontFamily Opt-out iframe customiser: accept single and double quotes characters in fontFamily Mar 19, 2018
@diosmosis
Copy link
Member

I think this could potentially be vulnerable to CSS injection attacks, someone could inject css to stop a rule, close the { and add their own CSS rules.

See https://www.owasp.org/index.php/Testing_for_CSS_Injection_(OTG-CLIENT-005) for more info on css injection. Only one I think really affects matomo users would be data exfiltration via font-face CSS.

@diosmosis
Copy link
Member

@mattab nevermind about my comment, missed part of the code

@diosmosis
Copy link
Member

Code looks good, there are some UI test failures, but no screenshots are uploaded to travis

@mattab mattab merged commit ab3272e into 3.x-dev Mar 23, 2018
@mattab mattab deleted the optout_quote branch March 23, 2018 03:53
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants