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

Mozilla packaging warning - Unsafe assignment to innerHTML #13

Open
clach04 opened this issue Dec 3, 2023 · 0 comments
Open

Mozilla packaging warning - Unsafe assignment to innerHTML #13

clach04 opened this issue Dec 3, 2023 · 0 comments

Comments

@clach04
Copy link
Owner

clach04 commented Dec 3, 2023

Following https://extensionworkshop.com/documentation/publish/package-your-extension/ got:

Your add-on was validated with no errors and 1 warning.
The validation process found these issues that can lead to rejections:

  • Unsafe assignment to innerHTML

Unsafe assignment to innerHTML

Warning: Due to both security and performance concerns, this may not be set using dynamic values which have not been adequately sanitized. This can lead to security issues or fairly serious performance degradation.
shared/shared.js line 27 column 7

      node.innerHTML = translation

node.innerHTML = translation

@clach04 clach04 changed the title Mozilla packaging warning Mozilla packaging warning - Unsafe assignment to innerHTML Dec 3, 2023
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

No branches or pull requests

1 participant