CVE-2022-25512
Python vulnerability analysis and mitigation

Overview

FreeTAKServer-UI version 1.9.8 was discovered to contain a security vulnerability where sensitive API and Websocket keys were exposed in the JavaScript source code. The vulnerability was assigned CVE-2022-25512 and was disclosed on March 10, 2022. This issue affects the web user interface component of the FreeTAKServer application (NVD, GitHub Issue).

Technical details

The vulnerability involves the exposure of RestAPI and Websocket authentication tokens directly in the JavaScript source code of the web interface. These tokens are reflected back to users, making them accessible to anyone who inspects the page source. This represents a CWE-540 type weakness: Inclusion of Sensitive Information in Source Code (CWE).

Impact

The exposure of API Bearer Tokens and Websocket Tokens in the source code could allow attackers to make unauthorized requests to the server. This could potentially lead to unauthorized access and control of the system through API endpoints or websocket connections (GitHub Issue).

Mitigation and workarounds

The sensitive tokens should not be reflected back to users in the JavaScript source code. Implementation of proper token management and secure authentication mechanisms that don't expose sensitive credentials in client-side code is recommended (CWE).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66470MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66469MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 09, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management