CVE-2021-33040
Cross-site Scripting in epubjs
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
CVE-2021-33040- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
CVE-2021-33040- Updated
- 2026-11-02
EUVDEUVD-2022-0558 No score
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
EUVD-2022-0558- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c6rp-xvqv-mwmf
6.1
Cross-site Scripting in epubjs
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
GHSA-c6rp-xvqv-mwmf- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
CVE-2021-33040- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-c6rp-xvqv-mwmf
6.1
Cross-site Scripting in epubjs
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
- Record
GHSA-c6rp-xvqv-mwmf- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
epubjsnpm |
before 0.3.89 | 0.3.89 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-33040 is a medium vulnerability (CVSS 6.1) in Futurepress Epub.js, published January 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in epubjs 0.3.89.
References
github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js
github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89
github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e
nvd.nist.gov/vuln/detail/CVE-2021-33040
github.com/advisories/GHSA-c6rp-xvqv-mwmf
github.com/futurepress/epub.js