ezXSS icon indicating copy to clipboard operation
ezXSS copied to clipboard

Add DOM threshold feature

Open kaimi- opened this issue 5 months ago • 0 comments

Overview

Adds a configurable DOM size threshold feature to ezXSS that enhances speed and user experience by preventing large DOM content from being displayed directly in the UI when viewing a report.

Problem Statement

Large DOM content (i.e. 25 MB size) stored in reports can drastically slow browser when displayed in textarea elements within the web interface.

Solution

Implemented a configurable threshold system:

  • Large DOM content (above threshold) is never rendered in the browser
  • Provides download functionality for large DOM as file
  • Reduces database queries by conditionally excluding large DOM data
  • Admins can set custom threshold via Settings page (default: 2MB)

kaimi- avatar Sep 05 '25 10:09 kaimi-