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

Sanitize user fields, posts comments, and meta values against XSS attacks #4

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

texpert
Copy link
Owner

@texpert texpert commented Jan 19, 2025

No description provided.

@texpert texpert changed the title Sanitize user fields and posts comments against XSS attacks Sanitize user fields, posts comments, and meta values against XSS attacks Jan 19, 2025
…the model, so use JSON.generate(value), which is not escaping, instead of value.to_json, which is using ActiveSupport's escaping method `to_json`
@texpert texpert marked this pull request as draft January 20, 2025 00:52
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

Successfully merging this pull request may close these issues.

1 participant