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

Dangerous tags allowed in infoArray #49

Open
webian opened this issue Aug 14, 2019 · 1 comment
Open

Dangerous tags allowed in infoArray #49

webian opened this issue Aug 14, 2019 · 1 comment

Comments

@webian
Copy link
Contributor

webian commented Aug 14, 2019

If there are no use cases that need html tags in $infoArray, it is better to not allow any tags.

$allowedTags = '<br><a><b><td><tr><div>';

By instance, allowing A tag, a user could send a malicious link in the note field of an order.

@franzholz
Copy link
Owner

The shop admin should not click on the links which he receives from the order emails.

However it could be made configurable which tags are allowed for the info fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants