.. / rollup
Star Fork

Next-generation ES module bundler

rollup
rollup
...

<4.22.4 | CVE-2024-47068

<img> @name @src 🛡️ strict-dynamic ⏱️ before-load
More information

Root Cause

Source: https://github.com/rollup/rollup/blob/v4.22.3/test/form/samples/import-meta/_expected/cjs.js

var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
var s = document.createElement('script');
s.src = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle.js', document.baseURI).href)) + 'extra.js';
document.head.append(s);

Related links:

Found by jackfromeast, ishmeals.


Source | History