payload 3.80.0-internal.8d9ec7c → 3.80.0-internal.cdd7ef7
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/dist/auth/endpoints/forgotPassword.d.ts.map +1 -1
- package/dist/auth/endpoints/forgotPassword.js +0 -2
- package/dist/auth/endpoints/forgotPassword.js.map +1 -1
- package/dist/auth/extractJWT.d.ts.map +1 -1
- package/dist/auth/extractJWT.js +18 -4
- package/dist/auth/extractJWT.js.map +1 -1
- package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
- package/dist/auth/operations/forgotPassword.js +5 -4
- package/dist/auth/operations/forgotPassword.js.map +1 -1
- package/dist/auth/sendVerificationEmail.d.ts.map +1 -1
- package/dist/auth/sendVerificationEmail.js +5 -4
- package/dist/auth/sendVerificationEmail.js.map +1 -1
- package/dist/database/getLocalizedPaths.d.ts.map +1 -1
- package/dist/database/getLocalizedPaths.js +2 -1
- package/dist/database/getLocalizedPaths.js.map +1 -1
- package/dist/database/queryValidation/validateQueryPaths.js +1 -1
- package/dist/database/queryValidation/validateQueryPaths.js.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.d.ts.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.js +2 -1
- package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
- package/dist/exports/shared.d.ts +1 -0
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +1 -0
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/validations.js +1 -1
- package/dist/fields/validations.js.map +1 -1
- package/dist/fields/validations.spec.js +25 -0
- package/dist/fields/validations.spec.js.map +1 -1
- package/dist/hierarchy/getInitialTreeData.d.ts +3 -2
- package/dist/hierarchy/getInitialTreeData.d.ts.map +1 -1
- package/dist/hierarchy/getInitialTreeData.js +4 -5
- package/dist/hierarchy/getInitialTreeData.js.map +1 -1
- package/dist/index.bundled.d.ts +3 -2
- package/dist/types/constants.d.ts +5 -0
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/constants.js +4 -0
- package/dist/types/constants.js.map +1 -1
- package/dist/uploads/endpoints/getFile.d.ts.map +1 -1
- package/dist/uploads/endpoints/getFile.js +7 -1
- package/dist/uploads/endpoints/getFile.js.map +1 -1
- package/dist/uploads/endpoints/getFileFromURL.d.ts.map +1 -1
- package/dist/uploads/endpoints/getFileFromURL.js +67 -28
- package/dist/uploads/endpoints/getFileFromURL.js.map +1 -1
- package/dist/uploads/getExternalFile.d.ts.map +1 -1
- package/dist/uploads/getExternalFile.js +3 -0
- package/dist/uploads/getExternalFile.js.map +1 -1
- package/dist/uploads/safeFetch.d.ts +1 -1
- package/dist/uploads/safeFetch.d.ts.map +1 -1
- package/dist/uploads/safeFetch.js.map +1 -1
- package/dist/utilities/getRequestOrigin.d.ts +10 -0
- package/dist/utilities/getRequestOrigin.d.ts.map +1 -0
- package/dist/utilities/getRequestOrigin.js +50 -0
- package/dist/utilities/getRequestOrigin.js.map +1 -0
- package/dist/utilities/getRequestOrigin.spec.js +151 -0
- package/dist/utilities/getRequestOrigin.spec.js.map +1 -0
- package/dist/utilities/sanitizeUrl.d.ts +7 -0
- package/dist/utilities/sanitizeUrl.d.ts.map +1 -0
- package/dist/utilities/sanitizeUrl.js +28 -0
- package/dist/utilities/sanitizeUrl.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { getRequestOrigin } from './getRequestOrigin';
|
|
3
|
+
const makeReq = (url, hostOverride)=>{
|
|
4
|
+
let host = hostOverride;
|
|
5
|
+
if (host === undefined) {
|
|
6
|
+
try {
|
|
7
|
+
host = new URL(url).host;
|
|
8
|
+
} catch {
|
|
9
|
+
host = undefined;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
url,
|
|
14
|
+
headers: new Headers(host !== undefined ? {
|
|
15
|
+
host
|
|
16
|
+
} : {}),
|
|
17
|
+
payload: {
|
|
18
|
+
logger: {
|
|
19
|
+
warn: ()=>{}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
describe('getRequestOrigin', ()=>{
|
|
25
|
+
describe('when config.serverURL is set', ()=>{
|
|
26
|
+
it('should return serverURL regardless of Host header', ()=>{
|
|
27
|
+
const req = makeReq('https://ignored.com/api/forgot-password', 'attacker.com');
|
|
28
|
+
const result = getRequestOrigin({
|
|
29
|
+
config: {
|
|
30
|
+
serverURL: 'https://myapp.com',
|
|
31
|
+
cors: '*',
|
|
32
|
+
csrf: []
|
|
33
|
+
},
|
|
34
|
+
req
|
|
35
|
+
});
|
|
36
|
+
expect(result).toBe('https://myapp.com');
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
describe('when config.serverURL is not set', ()=>{
|
|
40
|
+
describe('CORS allowlist validation', ()=>{
|
|
41
|
+
it('should return origin when Host header matches a CORS string array entry', ()=>{
|
|
42
|
+
const req = makeReq('https://myapp.com/api/forgot-password');
|
|
43
|
+
const result = getRequestOrigin({
|
|
44
|
+
config: {
|
|
45
|
+
serverURL: '',
|
|
46
|
+
cors: [
|
|
47
|
+
'https://myapp.com',
|
|
48
|
+
'https://other.com'
|
|
49
|
+
],
|
|
50
|
+
csrf: []
|
|
51
|
+
},
|
|
52
|
+
req
|
|
53
|
+
});
|
|
54
|
+
expect(result).toBe('https://myapp.com');
|
|
55
|
+
});
|
|
56
|
+
it('should return origin when Host header matches a CORSConfig origins entry', ()=>{
|
|
57
|
+
const req = makeReq('https://myapp.com/api/verify');
|
|
58
|
+
const result = getRequestOrigin({
|
|
59
|
+
config: {
|
|
60
|
+
serverURL: '',
|
|
61
|
+
cors: {
|
|
62
|
+
headers: [],
|
|
63
|
+
origins: [
|
|
64
|
+
'https://myapp.com'
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
csrf: []
|
|
68
|
+
},
|
|
69
|
+
req
|
|
70
|
+
});
|
|
71
|
+
expect(result).toBe('https://myapp.com');
|
|
72
|
+
});
|
|
73
|
+
it('should return empty string when Host header is forged and not in CORS allowlist', ()=>{
|
|
74
|
+
const req = makeReq('https://myapp.com/api/forgot-password', 'attacker.com');
|
|
75
|
+
const result = getRequestOrigin({
|
|
76
|
+
config: {
|
|
77
|
+
serverURL: '',
|
|
78
|
+
cors: [
|
|
79
|
+
'https://myapp.com'
|
|
80
|
+
],
|
|
81
|
+
csrf: []
|
|
82
|
+
},
|
|
83
|
+
req
|
|
84
|
+
});
|
|
85
|
+
expect(result).toBe('');
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
describe('CSRF allowlist validation', ()=>{
|
|
89
|
+
it('should return origin when Host header matches a CSRF entry', ()=>{
|
|
90
|
+
const req = makeReq('https://myapp.com/api/verify');
|
|
91
|
+
const result = getRequestOrigin({
|
|
92
|
+
config: {
|
|
93
|
+
serverURL: '',
|
|
94
|
+
cors: [],
|
|
95
|
+
csrf: [
|
|
96
|
+
'https://myapp.com'
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
req
|
|
100
|
+
});
|
|
101
|
+
expect(result).toBe('https://myapp.com');
|
|
102
|
+
});
|
|
103
|
+
it('should return origin when Host header is in CSRF but not in CORS', ()=>{
|
|
104
|
+
const req = makeReq('https://myapp.com/api/verify');
|
|
105
|
+
const result = getRequestOrigin({
|
|
106
|
+
config: {
|
|
107
|
+
serverURL: '',
|
|
108
|
+
cors: [
|
|
109
|
+
'https://other.com'
|
|
110
|
+
],
|
|
111
|
+
csrf: [
|
|
112
|
+
'https://myapp.com'
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
req
|
|
116
|
+
});
|
|
117
|
+
expect(result).toBe('https://myapp.com');
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
describe('malformed or missing Host header', ()=>{
|
|
121
|
+
it('should return empty string when req.url is not a valid URL', ()=>{
|
|
122
|
+
const req = makeReq('not-a-url');
|
|
123
|
+
const result = getRequestOrigin({
|
|
124
|
+
config: {
|
|
125
|
+
serverURL: '',
|
|
126
|
+
cors: [],
|
|
127
|
+
csrf: []
|
|
128
|
+
},
|
|
129
|
+
req
|
|
130
|
+
});
|
|
131
|
+
expect(result).toBe('');
|
|
132
|
+
});
|
|
133
|
+
it('should return empty string when Host header is absent', ()=>{
|
|
134
|
+
const req = makeReq('https://myapp.com/api/forgot-password', '');
|
|
135
|
+
const result = getRequestOrigin({
|
|
136
|
+
config: {
|
|
137
|
+
serverURL: '',
|
|
138
|
+
cors: [
|
|
139
|
+
'https://myapp.com'
|
|
140
|
+
],
|
|
141
|
+
csrf: []
|
|
142
|
+
},
|
|
143
|
+
req
|
|
144
|
+
});
|
|
145
|
+
expect(result).toBe('');
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
//# sourceMappingURL=getRequestOrigin.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utilities/getRequestOrigin.spec.ts"],"sourcesContent":["import type { PayloadRequest } from '../types/index.js'\n\nimport { describe, expect, it } from 'vitest'\n\nimport { getRequestOrigin } from './getRequestOrigin'\n\ntype MinimalReq = Pick<PayloadRequest, 'headers' | 'payload' | 'url'>\n\nconst makeReq = (url: string, hostOverride?: string): MinimalReq => {\n let host = hostOverride\n if (host === undefined) {\n try {\n host = new URL(url).host\n } catch {\n host = undefined\n }\n }\n return {\n url,\n headers: new Headers(host !== undefined ? { host } : {}),\n payload: {\n logger: {\n warn: () => {},\n },\n },\n } as unknown as MinimalReq\n}\n\ndescribe('getRequestOrigin', () => {\n describe('when config.serverURL is set', () => {\n it('should return serverURL regardless of Host header', () => {\n const req = makeReq('https://ignored.com/api/forgot-password', 'attacker.com')\n const result = getRequestOrigin({\n config: { serverURL: 'https://myapp.com', cors: '*', csrf: [] },\n req,\n })\n expect(result).toBe('https://myapp.com')\n })\n })\n\n describe('when config.serverURL is not set', () => {\n describe('CORS allowlist validation', () => {\n it('should return origin when Host header matches a CORS string array entry', () => {\n const req = makeReq('https://myapp.com/api/forgot-password')\n const result = getRequestOrigin({\n config: { serverURL: '', cors: ['https://myapp.com', 'https://other.com'], csrf: [] },\n req,\n })\n expect(result).toBe('https://myapp.com')\n })\n\n it('should return origin when Host header matches a CORSConfig origins entry', () => {\n const req = makeReq('https://myapp.com/api/verify')\n const result = getRequestOrigin({\n config: {\n serverURL: '',\n cors: { headers: [], origins: ['https://myapp.com'] },\n csrf: [],\n },\n req,\n })\n expect(result).toBe('https://myapp.com')\n })\n\n it('should return empty string when Host header is forged and not in CORS allowlist', () => {\n const req = makeReq('https://myapp.com/api/forgot-password', 'attacker.com')\n const result = getRequestOrigin({\n config: { serverURL: '', cors: ['https://myapp.com'], csrf: [] },\n req,\n })\n expect(result).toBe('')\n })\n })\n\n describe('CSRF allowlist validation', () => {\n it('should return origin when Host header matches a CSRF entry', () => {\n const req = makeReq('https://myapp.com/api/verify')\n const result = getRequestOrigin({\n config: { serverURL: '', cors: [], csrf: ['https://myapp.com'] },\n req,\n })\n expect(result).toBe('https://myapp.com')\n })\n\n it('should return origin when Host header is in CSRF but not in CORS', () => {\n const req = makeReq('https://myapp.com/api/verify')\n const result = getRequestOrigin({\n config: {\n serverURL: '',\n cors: ['https://other.com'],\n csrf: ['https://myapp.com'],\n },\n req,\n })\n expect(result).toBe('https://myapp.com')\n })\n })\n\n describe('malformed or missing Host header', () => {\n it('should return empty string when req.url is not a valid URL', () => {\n const req = makeReq('not-a-url')\n const result = getRequestOrigin({\n config: { serverURL: '', cors: [], csrf: [] },\n req,\n })\n expect(result).toBe('')\n })\n\n it('should return empty string when Host header is absent', () => {\n const req = makeReq('https://myapp.com/api/forgot-password', '')\n const result = getRequestOrigin({\n config: { serverURL: '', cors: ['https://myapp.com'], csrf: [] },\n req,\n })\n expect(result).toBe('')\n })\n })\n })\n})\n"],"names":["describe","expect","it","getRequestOrigin","makeReq","url","hostOverride","host","undefined","URL","headers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AAI,CAAC;YACtB;QACF;IACF;AACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sanitizes a URL to ensure only allowed protocols are used.
|
|
3
|
+
* Allows: http, https, mailto, tel, relative paths, and fragment (#) URLs.
|
|
4
|
+
* Returns '#' for any URL with a disallowed protocol (e.g. javascript:, data:).
|
|
5
|
+
*/
|
|
6
|
+
export declare function sanitizeUrl(url: string): string;
|
|
7
|
+
//# sourceMappingURL=sanitizeUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitizeUrl.d.ts","sourceRoot":"","sources":["../../src/utilities/sanitizeUrl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAgC/C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sanitizes a URL to ensure only allowed protocols are used.
|
|
3
|
+
* Allows: http, https, mailto, tel, relative paths, and fragment (#) URLs.
|
|
4
|
+
* Returns '#' for any URL with a disallowed protocol (e.g. javascript:, data:).
|
|
5
|
+
*/ export function sanitizeUrl(url) {
|
|
6
|
+
if (!url) {
|
|
7
|
+
return '';
|
|
8
|
+
}
|
|
9
|
+
const trimmed = url.trim();
|
|
10
|
+
// eslint-disable-next-line no-control-regex
|
|
11
|
+
const cleaned = trimmed.replace(/[\x00-\x1f\x7f]/g, '');
|
|
12
|
+
if (cleaned.startsWith('#')) {
|
|
13
|
+
return cleaned;
|
|
14
|
+
}
|
|
15
|
+
if (cleaned.startsWith('/') || cleaned.startsWith('./') || cleaned.startsWith('../')) {
|
|
16
|
+
return cleaned;
|
|
17
|
+
}
|
|
18
|
+
const protocolMatch = cleaned.match(/^([a-z][a-z0-9+\-.]*):(?=.)/i);
|
|
19
|
+
if (protocolMatch) {
|
|
20
|
+
const protocol = protocolMatch[1].toLowerCase();
|
|
21
|
+
if (protocol !== 'http' && protocol !== 'https' && protocol !== 'mailto' && protocol !== 'tel') {
|
|
22
|
+
return '#';
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return cleaned;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=sanitizeUrl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/utilities/sanitizeUrl.ts"],"sourcesContent":["/**\n * Sanitizes a URL to ensure only allowed protocols are used.\n * Allows: http, https, mailto, tel, relative paths, and fragment (#) URLs.\n * Returns '#' for any URL with a disallowed protocol (e.g. javascript:, data:).\n */\nexport function sanitizeUrl(url: string): string {\n if (!url) {\n return ''\n }\n\n const trimmed = url.trim()\n\n // eslint-disable-next-line no-control-regex\n const cleaned = trimmed.replace(/[\\x00-\\x1f\\x7f]/g, '')\n\n if (cleaned.startsWith('#')) {\n return cleaned\n }\n\n if (cleaned.startsWith('/') || cleaned.startsWith('./') || cleaned.startsWith('../')) {\n return cleaned\n }\n\n const protocolMatch = cleaned.match(/^([a-z][a-z0-9+\\-.]*):(?=.)/i)\n if (protocolMatch) {\n const protocol = protocolMatch[1]!.toLowerCase()\n if (\n protocol !== 'http' &&\n protocol !== 'https' &&\n protocol !== 'mailto' &&\n protocol !== 'tel'\n ) {\n return '#'\n }\n }\n\n return cleaned\n}\n"],"names":["sanitizeUrl","url","trimmed","trim","cleaned","replace","startsWith","protocolMatch","match","protocol","toLowerCase"],"mappings":"AAAA;;;;CAIC,GACD,OAAO,SAASA,YAAYC,GAAW;IACrC,IAAI,CAACA,KAAK;QACR,OAAO;IACT;IAEA,MAAMC,UAAUD,IAAIE,IAAI;IAExB,4CAA4C;IAC5C,MAAMC,UAAUF,QAAQG,OAAO,CAAC,oBAAoB;IAEpD,IAAID,QAAQE,UAAU,CAAC,MAAM;QAC3B,OAAOF;IACT;IAEA,IAAIA,QAAQE,UAAU,CAAC,QAAQF,QAAQE,UAAU,CAAC,SAASF,QAAQE,UAAU,CAAC,QAAQ;QACpF,OAAOF;IACT;IAEA,MAAMG,gBAAgBH,QAAQI,KAAK,CAAC;IACpC,IAAID,eAAe;QACjB,MAAME,WAAWF,aAAa,CAAC,EAAE,CAAEG,WAAW;QAC9C,IACED,aAAa,UACbA,aAAa,WACbA,aAAa,YACbA,aAAa,OACb;YACA,OAAO;QACT;IACF;IAEA,OAAOL;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payload",
|
|
3
|
-
"version": "3.80.0-internal.
|
|
3
|
+
"version": "3.80.0-internal.cdd7ef7",
|
|
4
4
|
"description": "Node, React, Headless CMS and Application Framework built on Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"admin panel",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"undici": "7.18.2",
|
|
116
116
|
"uuid": "10.0.0",
|
|
117
117
|
"ws": "^8.16.0",
|
|
118
|
-
"@payloadcms/translations": "3.80.0-internal.
|
|
118
|
+
"@payloadcms/translations": "3.80.0-internal.cdd7ef7"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@hyrious/esbuild-plugin-commonjs": "0.2.6",
|