Skip to content

RDKEMW-25979 : Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst - #199

Open
andrejz2 wants to merge 2 commits into
developfrom
topic/RDKEMW-25979
Open

andrejz2 wants to merge 2 commits into
developfrom
topic/RDKEMW-25979

Conversation

@andrejz2

@andrejz2 andrejz2 commented Sep 30, 2026 •

Copy link
Copy Markdown

RDKEMW-25979: Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst

Add htmlspecialchars with ENT_QUOTES encoding to the HostName variable before output in the HTML table to prevent XSS attacks via DHCP client hostname in the Connected Devices picker.

Adds a focused security regression test that verifies ENT_QUOTES is used.

Parent Story: RDKEMW-25944

Reason for change: Security remediation for vulnerability identified in FAIM harness analysis.

Test Procedure: Run the focused security regression test added in this PR. Verify the security fix is in place and the vulnerability is mitigated.

Risks: Low

Priority: P2

Parent Story: RDKEMW-25944

…add.jst

Add htmlspecialchars with ENT_QUOTES encoding to the HostName variable before output in the HTML table to prevent XSS attacks via DHCP client hostname in the Connected Devices picker.

Adds a focused security regression test that verifies ENT_QUOTES is used.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 03:22
@andrejz2
andrejz2 requested review from a team as code owners September 30, 2026 03:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@andrejz2 andrejz2 changed the title RDKEMW-25979: Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst RDKEMW-25979 : Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst Sep 30, 2026
@andrejz2 andrejz2 changed the title RDKEMW-25979 : Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst RDKEMW-25979 : Add ENT_QUOTES encoding to HostName in port_forwarding_add.jst Sep 30, 2026
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com]
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