GitHub Advisory Database
GHSA-c6rp-xvqv-mwmf
Cross-site Scripting in epubjs
Details
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | epubjs | All versions before 0.3.89 (fixed in 0.3.89) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-33040
- https://github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e
- https://github.com/futurepress/epub.js
- https://github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373
- https://github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89