{"id":"CVE-2021-33040","aliases":["CVE-2021-33040","GHSA-c6rp-xvqv-mwmf"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in epubjs","summary":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","source":"cvelist"},{"lang":"es","text":"managers/views/iframe.js en FuturePress EPub.js versiones anteriores a 0.3.89 permite un ataque de tipo XSS","source":"nvd"}],"published":"2022-01-17T16:14:29.000Z","modified":"2026-06-17T03:54:03.603Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.89"}],"ecosystem":"npm","package":"epubjs","purl":"pkg:npm/epubjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.3.89"}],"vendor":"futurepress","product":"epub.js","cpe":"cpe:2.3:a:futurepress:epub.js:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33040","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/futurepress/epub.js","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33040","url":"https://www.cve.org/CVERecord?id=CVE-2021-33040","licence":"CVE Terms of Use","modified":"2024-08-03T23:42:19.104Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c6rp-xvqv-mwmf","url":"https://github.com/advisories/GHSA-c6rp-xvqv-mwmf","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:03.210Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33040","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33040","licence":"Public domain","modified":"2026-06-17T03:54:03.603Z"}],"updatedAt":"2026-11-25T22:58:06.566Z","epss":{"score":0.00968,"percentile":0.62824,"date":"2026-12-01T12:00:22.000Z"}}