This is a followup to #1933716: Use the new SnapEngage javascript API - I forgot to filter the $advanced_script variable before using it in _snapengage_add_snapengage_script() and I guess this is kind of evil because someone, with the necessary privileges, could add XSS code.
So here's the patch to remove the evil - I hope filter_xss_admin() is sufficient.
| Comment | File | Size | Author |
|---|---|---|---|
| snapengage-sanitize-advanced-script-setting.patch | 496 bytes | das-peter |
Comments
Comment #1
arnested commentedCool.
Applied.
Release 7.x-1.4 is on the way.
Comment #2
arnested commentedJust for the record: The reason the patch failed tasting is because I applied it to the 7.x-1.x-dev branch before the testbot got around to testing it.