CVE-2021-33040
MEDIUM 6.1CVSS 3.1Cross-site Scripting in epubjs
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Published
- 17 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-c6rp-xvqv-mwmf
- Sources
- NVDJSONOSV GHSA-c6rp-xvqv-mwmfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | futurepress | epub.jscpe:2.3:a:futurepress:epub.js:*:*:*:*:*:node.js:*:* |
< 0.3.89 | 0.3.89 |
| OSV | npm | epubjs | < 0.3.89 | 0.3.89 |
References
- https://github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373 · Third Party Advisory, WEB
- https://github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e · Patch, Third Party Advisory, WEB
- https://github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-33040 · ADVISORY
- https://github.com/futurepress/epub.js · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Jan 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Jan 2022)