Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. smartbanner.js
  4. ›
  5. CVE-2025-25300

CVE-2025-25300: smartbanner.js rel noopener vulnerability

September 13, 2019 (updated February 18, 2025)

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.

References

  • github.com/advisories/GHSA-9mrq-cjgh-32g2
  • github.com/ain/smartbanner.js
  • github.com/ain/smartbanner.js/commit/fce8c31dfe04033d9d005a89694d3e7a60784f89
  • github.com/ain/smartbanner.js/security/advisories/GHSA-9mrq-cjgh-32g2
  • nvd.nist.gov/vuln/detail/CVE-2025-25300

Code Behaviors & Features

Detect and mitigate CVE-2025-25300 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.14.1

Fixed versions

  • 1.14.1

Solution

Upgrade to version 1.14.1 or above.

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/smartbanner.js/CVE-2025-25300.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.