CVE-2025-25300: smartbanner.js rel noopener vulnerability
5.3
CVSS Score
4.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.26845%
CWE
Published
9/13/2019
Updated
2/18/2025
KEV Status
No
Technology
JavaScript
Technical Details
CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
smartbanner.js | npm | < 1.14.1 | 1.14.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from anchor tags created without rel='noopener' in the smartbanner template. The commit fce8c31 shows the fix was adding rel='noopener' to the <a>
element in src/smartbanner.js
. The template generation function (likely part of SmartBanner.render
) is directly responsible for creating vulnerable links. Test file updates confirm this was the only code change required to resolve the issue.