Skip to content

Conversation

@Sec0xEd
Copy link

@Sec0xEd Sec0xEd commented Dec 20, 2025

Summary

Filter out javascript:, vbscript:, file:, and data: URLs in slideshow and compare image embeds.
This aligns with markdown-it's built-in link validation approach for defense-in-depth.

Changes

  • slideshow.js: Add URL scheme check before accepting image URLs
  • compare.js: Add URL scheme check for both left and right images

Filter out javascript:, vbscript:, file:, and data: URLs in image
embeds for defense-in-depth, aligning with markdown-it's link validation.
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