{"id":"CVE-2025-25300","published":"2025-02-18T17:38:52Z","modified":"2025-02-18T18:53:49Z","title":"smartbanner.js rel noopener XSS vulnerability","vendor":"ain","product":"smartbanner.js","tier":"tail","description":{"text":"smartbanner.js is a customizable smart app banner for iOS and Android. Prior to version 1.14.1, clicking on smartbanner `View` link and navigating to 3rd party page leaves `window.opener` exposed. It may allow hostile third parties to abuse `window.opener`, e.g. by redirection or injection on the original page with smartbanner. `rel=\"noopener\"` is automatically populated to links as of `v1.14.1` which is a recommended upgrade to resolve the vulnerability. Some workarounds are available for those who cannot upgrade. Ensure `View` link is only taking users to App Store or Google Play Store where security is guarded by respective app store security teams. If `View` link is going to a third party page, limit smartbanner.js to be used on iOS that decreases the scope of the vulnerability since as of Safari 12.1,  `rel=\"noopener\"` is imposed on all `target=\"_blank\"` links. Version 1.14.1 of smartbanner.js contains a fix for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00765,"percentile":0.51757,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":10.35},{"name":"CVSS severity","points":0.91}]},"vendorSlug":"ain","affectedVersions":[{"vendor":"ain","product":"smartbanner.js","versions":["< 1.14.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-18T18:49:17.804124Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"smartbanner.js","vulnerableRanges":["<1.14.1"],"patched":["1.14.1"],"from":["GHSA-9mrq-cjgh-32g2"],"provenance":"source"}],"summary":{"text":"The smartbanner.js component of the ain smartbanner.js product, a smart app banner for iOS and Android, leaves window.opener exposed when its View link navigates to a third-party page, because rel=\"noopener\" was not applied to those links before version 1.14.1. An attacker who can get a page to be opened from the banner, with user interaction required to click the View link, can abuse window.opener to redirect or inject content into the original page that hosts the banner, and no network access or authentication is needed for the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:00Z"},"euvd":{"id":"EUVD-2019-0661","exploited":false,"provenance":"source"}}