CVE-2025-25300: Smartbanner.js Smartbanner.js Rel Noopener Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-9mrq-cjgh-32g2
CWE-601 CWE-79
Published
Advisory Summary

CVE-2025-25300 is a LOW smartbanner.js rel noopener vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Smartbanner.js libraries in the npm ecosystem. The issue involves smartbanner.js rel noopener vulnerability. Remediation is available by upgrading affected packages to version 1.14.1.

CVE-2025-25300 at a Glance

CVE Identifier CVE-2025-25300
GHSA Identifier GHSA-9mrq-cjgh-32g2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Smartbanner.js
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2025-25300

To remediate this vulnerability, upgrade all affected Smartbanner.js dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

smartbanner.js fixed: 1.14.1
npm install smartbanner.js@1.14.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls smartbanner.js

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-25300, inspect your project dependencies using npm:

npm ls smartbanner.js

Analyze the terminal output to locate any version of Smartbanner.js in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14.1), your application is affected.

Note: The npm ls smartbanner.js command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Smartbanner.js, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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: ```html <meta name="smartbanner:enabled-platforms" content="none"> <meta name="smartbanner:include-user-agent-regex" content="Mobile.*Safari"> ``` ### References * [About rel=noopener](https://mathiasbynens.github.io/rel-noopener/) * [Safari 12.1 Release Notes](https://developer.apple.com/documentation/safari_release_notes/safari_12_1_release_notes#3130296) ### For more information If you have any questions or comments about this advisory: * Open an issue in [smartbanner.js](https://github.com/ain/smartbanner.js/issues/new)

CVE-2025-25300 Affected Smartbanner.js Versions

1 component(s)
Fixed Versions:
1.14.1
Product / Package Ecosystem Affected Versions Fixed Version
smartbanner.js
npm
< 1.14.1
1.14.1

References

Frequently Asked Questions

What is CVE-2025-25300?
CVE-2025-25300 is a security vulnerability in Smartbanner.js involving smartbanner.js rel noopener vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Smartbanner.js versions are affected?
Affected versions include releases prior to 1.14.1 across affected packages: smartbanner.js.
What version fixes CVE-2025-25300?
Upgrading to 1.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is smartbanner.js affected?
Yes, smartbanner.js is affected in releases prior to 1.14.1. Upgrade your dependency to 1.14.1 or later.
What CWE is associated with CVE-2025-25300?
CVE-2025-25300 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for CVE-2025-25300?
Run the dependency tree command: 'npm ls smartbanner.js'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9mrq-cjgh-32g2",
  "modified" : "2025-02-18T18:27:07Z",
  "published" : "2019-09-13T13:22:33Z",
  "aliases" : [ "CVE-2025-25300" ],
  "summary" : "smartbanner.js rel noopener vulnerability",
  "details" : "## 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)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "smartbanner.js"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.14.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-9mrq-cjgh-32g2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ain/smartbanner.js"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601", "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:29:02Z",
    "nvd_published_at" : null
  }
}