🖼️ Image Gallery

Dynamic image showcase with custom attributes

Legacy Image Display

⚠️ Legacy mode with minimal validation

Legacy display

Legacy image system - uses ?src= parameter with reduced validation

Interactive Image

Click the image to test custom actions:

Interactive image

Use ?action= to set custom click behavior

🔍 Debug Information

Current parameters:

  • image: default.jpg
  • caption: Gallery Image
  • alt: Image description
  • fallback: default.jpg
  • src: invalid.jpg
  • action:

Tip: Open browser DevTools and inspect the generated HTML to see how parameters are reflected in different contexts.

💡 Exploitation Tips

  • Attribute injection: Close the attribute with quote, inject new attribute
  • Direct JS execution: Some event handlers allow direct JS code
  • Trigger on error: Use invalid image URL to trigger onerror handler
  • Quote styles matter: Single (') vs double (") quotes affect escaping
  • Legacy parameters: Often have weaker validation (look for ?src=)