From 5f21eaabf8ecd7a7e428c77394decc4e43d30af9 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jun 2025 01:02:52 +0200 Subject: [PATCH 1/3] bump to v1.12.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4c6d50233..f45d9f2f0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vencord", "private": "true", - "version": "1.12.2", + "version": "1.12.3", "description": "The cutest Discord client mod", "homepage": "https://github.com/Vendicated/Vencord#readme", "bugs": { From 3a2a16a09c68b116e66e4af3e8b8de232c9658af Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jun 2025 01:18:14 +0200 Subject: [PATCH 2/3] whitelist tenor and pinterest for use in themes --- src/main/csp.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/csp.ts b/src/main/csp.ts index b35a11a81..3e592ccb2 100644 --- a/src/main/csp.ts +++ b/src/main/csp.ts @@ -19,6 +19,7 @@ export const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-s export const CspPolicies: PolicyMap = { "*.github.io": MediaAndCssSrc, // GitHub pages, used by most themes + "github.com": MediaAndCssSrc, // GitHub content (stuff uploaded to markdown forms), used by most themes "raw.githubusercontent.com": MediaAndCssSrc, // GitHub raw, used by some themes "*.gitlab.io": MediaAndCssSrc, // GitLab pages, used by some themes "gitlab.com": MediaAndCssSrc, // GitLab raw, used by some themes @@ -32,6 +33,8 @@ export const CspPolicies: PolicyMap = { "i.imgur.com": MediaSrc, // Imgur, used by some themes "i.ibb.co": MediaSrc, // ImgBB, used by some themes + "i.pinimg.com": MediaSrc, // Pinterest, used by some themes + "*.tenor.com": MediaSrc, // Tenor, used by some themes "cdn.discordapp.com": MediaAndCssSrc, // Discord CDN, used by Vencord and some themes to load media "media.discordapp.net": MediaSrc, // Discord media CDN, possible alternative to Discord CDN From bb106b7c49a6f1019194738a66ee75c8584680a8 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jun 2025 01:31:04 +0200 Subject: [PATCH 3/3] whitelist catbox for use in themes --- src/main/csp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/csp.ts b/src/main/csp.ts index 3e592ccb2..2faee606e 100644 --- a/src/main/csp.ts +++ b/src/main/csp.ts @@ -35,6 +35,7 @@ export const CspPolicies: PolicyMap = { "i.ibb.co": MediaSrc, // ImgBB, used by some themes "i.pinimg.com": MediaSrc, // Pinterest, used by some themes "*.tenor.com": MediaSrc, // Tenor, used by some themes + "files.catbox.moe": MediaSrc, // Catbox, used by some themes "cdn.discordapp.com": MediaAndCssSrc, // Discord CDN, used by Vencord and some themes to load media "media.discordapp.net": MediaSrc, // Discord media CDN, possible alternative to Discord CDN