CVE-2025-25300
JSON

1.3low

smartbanner.js rel noopener XSS vulnerability

Severity
1.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9mrq-cjgh-32g2

Description

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.

Affected

Product or packageVersionsReported by
ain smartbanner.js< 1.14.1CVE List
smartbanner.js (npm)before 1.14.1GitHub Advisory Database

All scores

GitHub_M1.3low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS: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

Classification

CWE-79CWE-601

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

rel noopener vulnerability

Impact

Clicking 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.

Patches

rel="noopener" is automatically populated to links as of v1.14.1 which is a recommended upgrade to resolve the vulnerability.

Workarounds

If you can not upgrade to v1.14.1:

  1. Ensure View link is only taking users to App Store or Google Play Store where security is guarded by respective app store security teams

  2. 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.

    Following combination of smartbanner meta tags can be used to achieve the above:

    <meta name="smartbanner:enabled-platforms" content="none">
    <meta name="smartbanner:include-user-agent-regex" content="Mobile.*Safari">
    
References
For more information

If you have any questions or comments about this advisory:

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-25300 changed 2025-02-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-9mrq-cjgh-32g2 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-25300 changed 2026-06-17Public domain