Skip to content

Add clarifying comments for security and code review feedback

bb287b2
Select commit
Loading
Failed to load commit list.
Draft

Fix type safety, navigation, and XSS issues in SearchResultsListItem #2262

Add clarifying comments for security and code review feedback
bb287b2
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Nov 24, 2025 in 2s

1 new alert including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 177 in src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/SearchResults/SearchResultsListItem.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<script
, which may cause an HTML element injection vulnerability.