Description
Several external links open in a new tab using target="_blank".
Some links already include rel="noopener noreferrer", while others appear to be missing it. This inconsistency may expose the application to reverse tabnabbing attacks.
Potential Locations
- apps/web/src/pages/LandingPage.tsx
- apps/web/src/pages/LeaderboardPage.tsx
- apps/web/src/pages/ProfilePage.tsx
Proposed Changes
- Audit all external links using
target="_blank".
- Add
rel="noopener noreferrer" where missing.
- Keep behavior unchanged.
Benefits
- Improves security.
- Aligns with web security best practices.
- Ensures consistency across the codebase.
Acceptance Criteria
- All external links opened with
target="_blank" include appropriate rel attributes.
- No navigation regressions.
- Existing checks continue to pass.
Description
Several external links open in a new tab using
target="_blank".Some links already include
rel="noopener noreferrer", while others appear to be missing it. This inconsistency may expose the application to reverse tabnabbing attacks.Potential Locations
Proposed Changes
target="_blank".rel="noopener noreferrer"where missing.Benefits
Acceptance Criteria
target="_blank"include appropriaterelattributes.