{"id":"CVE-2021-33040","aliases":["EUVD-2022-0558","GHSA-c6rp-xvqv-mwmf"],"status":"published","title":"Cross-site Scripting in epubjs","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00937,"percentile":0.61092,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-01-17T16:14:29Z","modified":"2026-10-20T10:53:47Z","fixes":[{"ecosystem":"npm","package":"epubjs","fixed_in":["0.3.89"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"epubjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.89"}]}]},{"source":"osv","ecosystem":"npm","package":"epubjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.89"}]}]}],"products":[{"vendor":"futurepress","product":"epub.js"}],"references":[{"url":"https://github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33040","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c6rp-xvqv-mwmf"},{"url":"https://github.com/futurepress/epub.js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-33040","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-17T16:14:29Z","modified":"2024-08-03T23:42:19.104Z","updated_at":"2026-11-02T14:33:10.204494Z"}],"euvd":[{"id":"EUVD-2022-0558","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-17T16:14:29Z","modified":"2024-08-03T23:42:19Z","updated_at":"2026-11-03T03:24:34.73748Z"}],"ghsa":[{"id":"GHSA-c6rp-xvqv-mwmf","title":"Cross-site Scripting in epubjs","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-21T23:52:17Z","modified":"2023-09-21T05:03:51Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:06.234371Z"}],"nvd":[{"id":"CVE-2021-33040","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-17T17:15:07.537Z","modified":"2026-06-17T03:54:03.603Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-33040","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-17T17:15:07.537Z","modified":"2026-10-20T10:53:47.202424925Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"GHSA-c6rp-xvqv-mwmf","title":"Cross-site Scripting in epubjs","description":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","status":"published","published":"2022-01-21T23:52:17Z","modified":"2023-11-08T04:06:03.210708Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.571161Z"}]}}
