From 9cbd7717c1dd191a37d58fc1cd3070b51d32d9b0 Mon Sep 17 00:00:00 2001 From: sarthakkaushik927 Date: Wed, 12 Aug 2026 17:12:14 +0530 Subject: [PATCH] fix(security): prevent tabnabbing by adding rel noopener noreferrer to target blank links Signed-off-by: sarthakkaushik927 --- src/components/content/ThankYouSection/index.tsx | 7 +++++++ src/components/ui/ArticleCard/index.tsx | 2 ++ src/components/ui/Testimonial/index.tsx | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/content/ThankYouSection/index.tsx b/src/components/content/ThankYouSection/index.tsx index 5df5dba6c1..75ca2343ab 100644 --- a/src/components/content/ThankYouSection/index.tsx +++ b/src/components/content/ThankYouSection/index.tsx @@ -33,42 +33,49 @@ function ThankYouSection(): JSX.Element { diff --git a/src/components/ui/ArticleCard/index.tsx b/src/components/ui/ArticleCard/index.tsx index d1ff58c057..0f13b388a6 100644 --- a/src/components/ui/ArticleCard/index.tsx +++ b/src/components/ui/ArticleCard/index.tsx @@ -53,6 +53,7 @@ function ArticleCard(props: ArticleCardProps) { {sanitizeHtml(props.title)} @@ -83,6 +84,7 @@ function ArticleCard(props: ArticleCardProps) { {sanitizeHtml(props.title)} diff --git a/src/components/ui/Testimonial/index.tsx b/src/components/ui/Testimonial/index.tsx index c85ba2bb8a..e6f6434bcc 100644 --- a/src/components/ui/Testimonial/index.tsx +++ b/src/components/ui/Testimonial/index.tsx @@ -31,7 +31,7 @@ function Testimonial(props: TestimonialProps) {

{props.description}

- {props.featuredlink && {props.featuredlink}} + {props.featuredlink && {props.featuredlink}}