Skip to content

Conversation

kaimi-
Copy link

@kaimi- kaimi- commented Sep 5, 2025

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)

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