-
Notifications
You must be signed in to change notification settings - Fork 17
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
Incorrect escaping in theming.php #133
Comments
Here, I don't see the point. |
@tomjn can you clarify? |
Sanitising and escaping aren't the same, sanitisation aims to clean up data, escaping is aimed at securing For example, In the case of CSS, |
For reference, It also passes it through a filter, which can be used to taint the value further |
@tomjn I think I see your point. I'm going to replace the Still, I have question regarding what is done in
Here, what is returned by Hopefully, these special cases do not actually happen in RPB Chessboard. However, how should we handle properly these cases if we have to? |
Fix available in 5.3.2. |
WordPress VIP reviewed version 5.3 of rpb-chessboard. They found the following:
And in
templates/misc/theming.php
there's uses of sanitize_html_class as an escaping function which need either swapping or wrapping withesc_attr
.The text was updated successfully, but these errors were encountered: