{"id":"GHSA-c6rp-xvqv-mwmf","summary":"Cross-site Scripting in epubjs","details":"managers/views/iframe.js in FuturePress EPub.js before 0.3.89 allows XSS.","aliases":["CVE-2021-33040"],"modified":"2023-11-08T04:06:03.210708Z","published":"2022-01-21T23:52:17Z","database_specific":{"nvd_published_at":"2022-01-17T17:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-01-19T14:07:11Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33040"},{"type":"WEB","url":"https://github.com/futurepress/epub.js/commit/ab4dd46408cce0324e1c67de4a3ba96b59e5012e"},{"type":"PACKAGE","url":"https://github.com/futurepress/epub.js"},{"type":"WEB","url":"https://github.com/futurepress/epub.js/blob/5c7f21d648d9d20d44c6c365d164b16871847023/src/managers/views/iframe.js#L373"},{"type":"WEB","url":"https://github.com/futurepress/epub.js/compare/v0.3.88...v0.3.89"}],"affected":[{"package":{"name":"epubjs","ecosystem":"npm","purl":"pkg:npm/epubjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.89"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-c6rp-xvqv-mwmf/GHSA-c6rp-xvqv-mwmf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}