Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(app): missing noreferer attribute for anchor tag (#1915)

Meier Lukas986e013ca3ea
diff --git a/packages/widgets/src/app/component.tsx b/packages/widgets/src/app/component.tsx
index 33edf9f19..77039a7af 100644
--- a/packages/widgets/src/app/component.tsx
+++ b/packages/widgets/src/app/component.tsx
@@ -98,7 +98,14 @@ interface AppLinkProps {
const AppLink = ({ href, openInNewTab, enabled, children }: PropsWithChildren<AppLinkProps>) =>
enabled ? (
- <UnstyledButton component="a" href={href} target={openInNewTab ? "_blank" : undefined} h="100%" w="100%">
+ <UnstyledButton
+ component="a"
+ href={href}
+ target={openInNewTab ? "_blank" : undefined}
+ rel="noreferrer"
+ h="100%"
+ w="100%"
+ >
{children}
</UnstyledButton>
) : (