Skip to content

fix: replace innerHTML with textContent to prevent XSS#1372

Open
DuarteFrugoli wants to merge 1 commit into
DIYgod:masterfrom
DuarteFrugoli:fix/xss-security
Open

fix: replace innerHTML with textContent to prevent XSS#1372
DuarteFrugoli wants to merge 1 commit into
DIYgod:masterfrom
DuarteFrugoli:fix/xss-security

Conversation

@DuarteFrugoli

Copy link
Copy Markdown
  • info-panel.js: update() and fps() used innerHTML with URL/API data
  • template.js: notice element used innerText instead of textContent
  • player.art: add rel='noopener noreferrer' to external link (reverse tabnapping)
  • player.art: replace href='javascript:void(0)' with href='#'

- info-panel.js: update() and fps() used innerHTML with URL/API data
- template.js: notice element used innerText instead of textContent
- player.art: add rel='noopener noreferrer' to external link (reverse tabnapping)
- player.art: replace href='javascript:void(0)' with href='#'
@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

Deploy Preview for dplayerapp canceled.

Name Link
🔨 Latest commit 162d0dc
🔍 Latest deploy log https://app.netlify.com/projects/dplayerapp/deploys/6a1fa26553b286000889fd31

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.

1 participant