Skip to content

Conversation

@Vamsi0702
Copy link

This Pull Request addresses a portion of Issue #2240 regarding security vulnerabilities in the Backbone.js view rendering logic.

Changes
XSS Prevention in MediaView: Modified the render function in rtMedia.MediaView to sanitize media_title before injecting it into the DOM via .html().

Standardized Sanitization: Utilized the existing rtm_escape_html utility to ensure consistency with the codebase's existing security patterns.

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