Skip to content

LaboratoryController: Use java DOM API instead of StringBuilder#287

Closed
labkey-alan wants to merge 8 commits into
developfrom
fb_xss_laboratory_confirm_views
Closed

LaboratoryController: Use java DOM API instead of StringBuilder#287
labkey-alan wants to merge 8 commits into
developfrom
fb_xss_laboratory_confirm_views

Conversation

@labkey-alan

Copy link
Copy Markdown

Rationale

Using StringBuilder to manually build up HTML is error prone and unsafe. Updating usages to use the java DOM API so all HTML is properly escaped and potential XSS issues are mitigated.

Related Pull Requests

Changes

  • LaboratoryController: Use java DOM API instead of StringBuilder

@labkey-alan labkey-alan requested a review from bbimber June 22, 2026 20:01
@labkey-alan labkey-alan self-assigned this Jun 22, 2026
@labkey-alan

Copy link
Copy Markdown
Author

Closing this to re-open a version against 25.7

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.

2 participants