CVE-2021-33040 json
Cross-site Scripting in epubjs
published 2022-01-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-c6rp-xvqv-mwmf , EUVD-2022-0558
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.
Patch / fix
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | epubjs | <0.3.89 |
0.3.89 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e
web, patch, third-party-advisory
-
github.com
/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373
web, third-party-advisory
-
github.com
/futurepress/epub.js/compare/v0.3.88...v0.3.89
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-33040
advisory
-
github.com
/futurepress/epub.js
package
Sources
- CVE List CVE-2021-33040
- GitHub Advisory GHSA-c6rp-xvqv-mwmf
- NVD CVE-2021-33040
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.