Skip to content

Commit d4f2711

Browse files
Copilothuntie
andcommitted
test: add CVE-2025-11953 comment above second test case
Co-authored-by: huntie <2547783+huntie@users.noreply.github.com>
1 parent 32fdc76 commit d4f2711

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/cli-server-api/src/__tests__/openURLMiddleware.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ describe('openURLMiddleware', () => {
5353
openURLMiddleware(req, res, next);
5454
});
5555

56+
// CVE-2025-11953
5657
test('should reject malicious URL with invalid hostname', (done) => {
5758
const maliciousUrl = 'https://www.$(calc.exe).com/foo';
5859
const req = createMockRequest('POST', {url: maliciousUrl});

0 commit comments

Comments
 (0)