Skip to content

Development - #8

Draft
PearMan95 wants to merge 19 commits into
mainfrom
development
Draft

Development#8
PearMan95 wants to merge 19 commits into
mainfrom
development

Conversation

@PearMan95

Copy link
Copy Markdown
Owner

No description provided.

PearMan95 and others added 19 commits May 29, 2026 01:01
Settings: herindeling kaarten + verbeterde notificatie preview
Alerts, Live and History tabs rendered alert values, API data
(callsign/route) and imported backup data via innerHTML without
escaping, allowing HTML/script injection via a crafted backup file
or malicious ADS-B field. Replaced with textContent/createElement throughout. Also fixed the inline note editor, which reinserted
user-typed text via innerHTML (self-XSS), and replaced the fragile
"is this note empty" text-comparison with a data-note attribute.
offscreen.html/offscreen.js were listed as web-accessible to
chrome-extension://*/*, but they're only ever loaded internally via
chrome.offscreen.createDocument() and never need to be fetched from
outside the extension. Removed the entry to reduce exposure.

Also wrapped ac.hex / entry.hex in encodeURIComponent() before
building globe.airplanes.live URLs, in case of malformed or unusual
hex values from the ADS-B feed or notification history.
…s-url-encoding

Hardening: verwijder onnodige web_accessible_resources, encode hex in externe URL's
Restrict extension pages to self-hosted scripts, styles and fonts.
Prevents accidental reliance on external resources (e.g. Google Fonts)
now that all fonts are bundled locally.
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