Malicious code in radio-player-theme (npm)
GHSA-3rj7-hf4w-jh5c is a critical-severity vulnerability, classed as Embedded Malicious Code (CWE-506), in radio-player-theme (npm). Affected versions: = 6.0.0. The package is malicious, so there is no safe version: remove it and rotate any credentials it could reach.
Published 21 Sept 2026Updated 21 Sept 2026
- CVE ID
- No CVE assigned
- GHSA ID
- GHSA-3rj7-hf4w-jh5c
- EPSS
- Not scored
- Weakness (CWE)
- CWE-506Embedded Malicious Code
- KEV status
- Not in KEV
- Published
- 21 Sept 2026
- Updated
- 21 Sept 2026
- Ecosystem
- npm
Summary
Source: GitHub Advisory Database
radio-player-theme presents itself as a radio player theme. The published tarball contains three files: package.json, style.css (declared as main) and payload.js, which holds the package's only executable code.
payload.js is a browser payload. On execution it reads location.origin and document.cookie, extracts the value of a MANAGER-XSRF-TOKEN cookie, and sends the origin together with the collected state to an out-of-band callback domain under oastify.com by assigning it to an Image.src. It then issues a second authenticated request to a third-party manager API and writes the collected data to window.__radioXssProof.
The file carries a comment describing itself as a bug bounty proof of concept for a CSP bypass through a public CDN that serves npm packages. Regardless of that claim, the published package delivers working data-collection code to anyone who loads it, and the package has no other function.
The package declares no install hooks, so npm install alone does not execute the payload; the code runs when the file is loaded in a browser, which is what CDN delivery of an npm package enables.
Evidence: payload.js:7 holds the hardcoded callback domain; payload.js:13-19 perform the cookie read and the beacons. Determination: manual review of the published tarball (sha256 ddbb93aa9416c1c89cf15dc7627f4a816a1c31929238ed8608264546ba0df186).
Technical details
No CVSS vector has been published for this vulnerability yet.
Affected packages
Source: GitHub Advisory Database
- radio-player-themenpm
pkg:npm/radio-player-theme- Affected versions
- = 6.0.0
- Fixed in
- No fix yet
| Package | Affected versions | Fixed in |
|---|---|---|
radio-player-theme npm pkg:npm/radio-player-theme |
| No fix yet |
Fix
Source: GitHub Advisory Database
Malicious package: remove it
There is no safe version to upgrade to. Remove the package, rotate any credentials the affected machines could reach, and check your build and CI systems for signs of compromise.
Vulnerability intelligence
Root cause analysis
Vulnerable functions
References
Questions about GHSA-3rj7-hf4w-jh5c
- Does GHSA-3rj7-hf4w-jh5c have a CVE ID?
- No CVE ID has been assigned to GHSA-3rj7-hf4w-jh5c yet. It is tracked only as a GitHub advisory.
- Which versions are affected by GHSA-3rj7-hf4w-jh5c?
- radio-player-theme (npm): = 6.0.0.
- How do I fix GHSA-3rj7-hf4w-jh5c?
- The package is malicious, so there is no safe version: remove it and rotate any credentials it could reach.
- What is the Package URL (PURL) for GHSA-3rj7-hf4w-jh5c?
- The affected package's PURL is pkg:npm/radio-player-theme.
Data sources
Upstream records
- OSV (GitHub advisory)No record
- GitHub Advisory DatabaseLoadedRaw JSON
Fetched 1 day ago (14 Oct 2026, 17:49 UTC). Records refresh automatically after 24 hours.
Where each part of this page came from
- Title and description
- GitHub Advisory Database
- Weakness (CWE)
- GitHub Advisory Database
- Affected packages
- GitHub Advisory Database
- Fix
- GitHub Advisory Database
- References
- Computed by CVEminer
OSV and GitHub Advisory Database content is licensed CC BY 4.0. Values marked as computed or derived were calculated by CVEminer from the upstream data.