Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace marked sanitize with sanitize-html (#500) #535

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

Merged
justin808 merged 1 commit into shakacode:master from yassa-tamer:solve-insecure-method-issue
Jul 25, 2023

Conversation

@yassa-tamer
Copy link
Contributor

@yassa-tamer yassa-tamer commented Jul 25, 2023
edited by justin808
Loading

Because the sanitize option in marked is deprecated and not safe This commit replace it with sanitize-html which works well with Server Side Rendering unlike DOMPurify.

Resolves #500


This change is Reviewable

Because the sanitize option in marked is deprecated and not safe
This commit replace it with sanitize-html which works well with
Server Side Rendering unlike DOMPurify.
Resolves shakacode#500 
Copy link
Contributor

@ahangarha ahangarha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice small improvement 👍🏾

yassa-tamer reacted with thumbs up emoji
@justin808 justin808 merged commit 11e5050 into shakacode:master Jul 25, 2023
Copy link
Member

Nice job @Yassa-hue!

yassa-tamer reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@ahangarha ahangarha ahangarha approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Component Comment.jsx is using an insecure method to sanitize input --could suffer XSS atacks

AltStyle によって変換されたページ (->オリジナル) /