Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
MartijnHols
7 months ago
|
parent
|
context
|
favorite
| on:
CVE-2024-4367 – Arbitrary JavaScript execution in ...
A good Content Security Policy [1] could prevent this as well as nullify the impact. If you're embedding a PDF in your app, you really should have one set up.
[1]
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP