{"id":"CVE-2025-25300","aliases":["CVE-2025-25300","GHSA-9mrq-cjgh-32g2"],"related":[],"kind":"vulnerability","state":"published","title":"smartbanner.js rel noopener XSS vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## rel noopener vulnerability\n\n### Impact\nClicking on smartbanner _View_ link and navigating to 3rd party page leaves `window.opener` exposed. It may allow hostile 3rd parties to abuse `window.opener`, e.g. by redirection or injection on the original page with smartbanner.\n\n### Patches\n`rel=\"noopener\"` is automatically populated to links as of `v1.14.1` which is a recommended upgrade to resolve the vulnerability.\n\n### Workarounds\nIf you can not upgrade to `v1.14.1`:\n1. Ensure _View_ link is only taking users to App Store or Google Play Store where security is guarded by respective app store security teams\n2. If _View_ link is going to a 3rd 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.\n\n    Following combination of smartbanner meta tags can be used to achieve the above:\n\n    ```html\n    <meta name=\"smartbanner:enabled-platforms\" content=\"none\">\n    <meta name=\"smartbanner:include-user-agent-regex\" content=\"Mobile.*Safari\">\n    ```\n\n### References\n* [About rel=noopener](https://mathiasbynens.github.io/rel-noopener/)\n* [Safari 12.1 Release Notes](https://developer.apple.com/documentation/safari_release_notes/safari_12_1_release_notes#3130296)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [smartbanner.js](https://github.com/ain/smartbanner.js/issues/new)","format":"markdown","source":"ghsa"},{"lang":"es","text":"SmartBanner.js es un banner de aplicaciones inteligente personalizable para iOS y Android. Antes de la versión 1.14.1, haga clic en el enlace SmartBanner `View` y navegando a la página de terceros de las hojas de` Window.opener` expuestas. Puede permitir que terceros hostiles abusen de `window.opener`, por ejemplo, mediante redirección o inyección en la página original con SmartBanner. `rel =\" noopener \"` se pobla automáticamente en enlaces a partir de `v1.14.1`, que es una actualización recomendada para resolver la vulnerabilidad. Algunos workarounds están disponibles para aquellos que no pueden actualizar. Asegúrese de que el enlace 'Ver' solo esté llevando a los usuarios a App Store o Google Play Store, donde la seguridad está protegida por los respectivos equipos de seguridad de la tienda de aplicaciones. Si el enlace `View` va a una página de terceros, limite SmartBanner.js para usarse en iOS que disminuye el alcance de la vulnerabilidad ya que a partir de Safari 12.1,` rel = \"noopener\" `se impone en todos los` target = \" _Blank \"` enlaces. La versión 1.14.1 de SmartBanner.js contiene una solución para el problema.","source":"nvd"}],"published":"2019-09-13T13:22:33.000Z","modified":"2026-09-10T03:48:45.068Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":1.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":1.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:U","rating":"LOW"}],"cwes":["CWE-79","CWE-601"],"affected":[{"ranges":[{"version":"< 1.14.1","status":"affected"}],"vendor":"ain","product":"smartbanner.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.14.1"}],"ecosystem":"npm","package":"smartbanner.js","purl":"pkg:npm/smartbanner.js","source":"ghsa"}],"references":[{"url":"https://github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2","tags":["web","x-refsource-confirm","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-9mrq-cjgh-32g2","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ain/smartbanner.js","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-02-18T18:49:17.804Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-25300","url":"https://www.cve.org/CVERecord?id=CVE-2025-25300","licence":"CVE Terms of Use","modified":"2025-02-18T18:53:49.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mrq-cjgh-32g2","url":"https://github.com/advisories/GHSA-9mrq-cjgh-32g2","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:45.068Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-25300","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25300","licence":"Public domain","modified":"2026-06-17T09:00:38.680Z"}],"updatedAt":"2026-11-25T22:58:54.154Z","epss":{"score":0.00437,"percentile":0.3972,"date":"2026-12-01T12:00:22.000Z"}}