Skip to content

Update Quill version and enhance HTML escaping for security#4788

Open
sbakshiakp wants to merge 1 commit intoslab:mainfrom
sbakshiakp:snyk_medium_severity_downstream_Injection
Open

Update Quill version and enhance HTML escaping for security#4788
sbakshiakp wants to merge 1 commit intoslab:mainfrom
sbakshiakp:snyk_medium_severity_downstream_Injection

Conversation

@sbakshiakp
Copy link
Copy Markdown

  • Bump Quill version to 1.3.7-snyk-fix.1 in package.json.
  • Implement HTML escaping functions in html_escape.ts to prevent XSS vulnerabilities.
  • Update Formula, Image, and Video formats to use escape functions for safe HTML output.
  • Modify editor's convertHTML function to ensure safe wrapping of elements.
  • Add tests to verify that HTML export correctly escapes potentially harmful content.

- Bump Quill version to 1.3.7-snyk-fix.1 in package.json.
- Implement HTML escaping functions in html_escape.ts to prevent XSS vulnerabilities.
- Update Formula, Image, and Video formats to use escape functions for safe HTML output.
- Modify editor's convertHTML function to ensure safe wrapping of elements.
- Add tests to verify that HTML export correctly escapes potentially harmful content.
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