Skip to content

Fix XSS vulnerability by disabling raw HTML in pandoc conversion#16

Open
anmoltyagi18 wants to merge 1 commit intograme-cncm:masterfrom
anmoltyagi18:fix-readme-xss
Open

Fix XSS vulnerability by disabling raw HTML in pandoc conversion#16
anmoltyagi18 wants to merge 1 commit intograme-cncm:masterfrom
anmoltyagi18:fix-readme-xss

Conversation

@anmoltyagi18
Copy link
Copy Markdown

Fixes issue #14.

The build script previously used the pandoc option markdown-raw_html, which allows raw HTML to be preserved when converting README.md to index.html.

This could allow malicious script tags to be injected into the generated HTML, leading to potential XSS vulnerabilities.

This PR removes the raw_html extension and uses standard markdown input to ensure raw HTML is not rendered in the output.

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