Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle variable and secret values as text #249

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

SebastianStamm
Copy link
Collaborator

Description

This change prevents HTML injection for variable names and connector secrets. For the tables this was achieved by targeting the empty container element via jQuery and adding the content as text instead of adding it as HTML.

I removed the variable payload from the notifications as I don't think it's needed there.

Related issues

closes #248

Copy link
Collaborator

@saig0 saig0 left a comment

Choose a reason for hiding this comment

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

@SebastianStamm LGTM. 👍

@saig0 saig0 merged commit 488644f into main Sep 27, 2023
2 checks passed
@saig0 saig0 deleted the 248-html-values branch September 27, 2023 12:20
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.

Variable values and secrets are interpreted as HTML
2 participants