Skip to content

Fix js execution vuln in CQL paste handler - #145

Merged
jonathonherbert merged 2 commits into
mainfrom
aw-inner-html-js-vuln
Nov 4, 2026
Merged

jonathonherbert merged 2 commits into
mainfrom
aw-inner-html-js-vuln

Conversation

@AWare

@AWare AWare commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Use a template instead of a div so the content remains inert and JS does not get executed.

What does this change?

How has this change been tested?

How can we measure success?

Have we considered potential risks?

Images

Accessibility

Use a template instead of a div so the content remains inert and JS does
not get executed.
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

@AWare AWare added the fix Departmental tracking: fix label Nov 4, 2026

@jonathonherbert jonathonherbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Please add a changeset so we can get a release 😀

Created with Copilot, powered by gpt-6.1-sol (model ID: gpt-6-sol).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AWare

AWare commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

bun wouldn't run, so this is copilot guessing

@jonathonherbert
jonathonherbert merged commit d337efe into main Nov 4, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Departmental tracking: fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants