@oneuptime/common@9.5.6

The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

  • latest version

    12.0.10

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    15 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @oneuptime/common package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    SQL Injection

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to SQL Injection via the toSortStatement, toSelectStatement, and toGroupByStatement methods in StatementGenerator in the ClickHouse Identifier. An attacker can access, modify, or delete analytics data by injecting crafted input into the sort, select, or groupBy parameters of API requests.

    How to fix SQL Injection?

    Upgrade @oneuptime/common to version 10.0.34 or higher.

    <10.0.34
    • M
    SQL Injection

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to SQL Injection due to user-supplied parameters in the aggregation API endpoint. An attacker can access and modify sensitive database information, execute arbitrary SQL commands, and potentially achieve remote code execution by injecting crafted input into the aggregationType, aggregateColumnName, or aggregationTimestampColumnName fields.

    How to fix SQL Injection?

    Upgrade @oneuptime/common to version 10.0.23 or higher.

    <10.0.23
    • M
    Cross-site Scripting (XSS)

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the MarkdownViewer process when rendering Mermaid diagrams with securityLevel set to "loose" and injecting SVG output via innerHTML. An attacker can execute arbitrary JavaScript in the context of the application by submitting specially crafted Mermaid diagram payloads to any markdown-rendered field, such as incident notes, status page announcements, or monitor descriptions.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @oneuptime/common to version 10.0.23 or higher.

    <10.0.23
    • H
    Insertion of Sensitive Information into Log File

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the LogAggregationService. An attacker can gain unauthorized access to user accounts by extracting password reset tokens from application logs and using them to reset passwords.

    How to fix Insertion of Sensitive Information into Log File?

    Upgrade @oneuptime/common to version 10.0.24 or higher.

    <10.0.24
    • C
    Missing Authorization

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Missing Authorization via the GitHub API endpoints. An attacker can overwrite another project's GitHub App installation binding, enumerate repositories, and create records in arbitrary projects by supplying crafted state and installation_id parameters without proper authorization checks.

    How to fix Missing Authorization?

    Upgrade @oneuptime/common to version 10.0.19 or higher.

    <10.0.19
    • L
    Authorization Bypass Through User-Controlled Key

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the UserCall, UserEmail, UserSMS and UserWhatsApp endpoints. An attacker can trigger repeated verification code resends to arbitrary users by providing the itemId of any UserWhatsApp record within the same project, potentially leading to spam, denial of service against victims' phone numbers, or facilitating social engineering attacks.

    How to fix Authorization Bypass Through User-Controlled Key?

    Upgrade @oneuptime/common to version 10.0.21 or higher.

    <10.0.21
    • M
    Missing Authorization

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Missing Authorization in the handling of the is-multi-tenant-query header, which is trusted from client input. An attacker can gain unauthorized access to other tenants' data, read sensitive user credential fields, and take over accounts by sending crafted requests that bypass internal permission checks.

    How to fix Missing Authorization?

    Upgrade @oneuptime/common to version 10.0.21 or higher.

    <10.0.21
    • H
    Exposed Dangerous Method or Function

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Exposed Dangerous Method or Function via exposed Playwright browser objects. An attacker can execute arbitrary commands on the host system by leveraging exposed methods such as browser.browserType().launch() with attacker-controlled options.

    Note: This is considered a separate issue from the previously published SNYK-JS-ONEUPTIMECOMMON-15440733 since the underlying issue is the exposure of a dangerous host capability object to untrusted code, not prototype-chain access to process.

    How to fix Exposed Dangerous Method or Function?

    Upgrade @oneuptime/common to version 10.0.21 or higher.

    <10.0.21
    • H
    Arbitrary Code Injection

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the vm.runInContext function. An attacker can execute arbitrary system commands and exfiltrate sensitive environment variables by submitting crafted JavaScript payloads through the Synthetic Monitor feature.

    Note: In the context of oneuptime, the code is executed on the oneuptime-probe container, which holds database/cluster credentials in its environment variables. This directly leads to a complete compromise of the cluster.

    How to fix Arbitrary Code Injection?

    Upgrade @oneuptime/common to version 10.0.18 or higher.

    <10.0.18
    • M
    Replay Attack

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Replay Attack in the 2FA WebAuthn authentication due to the the challenge not being stored on the server side. An attacker can gain unauthorized access to user accounts by replaying a previously captured valid authentication assertion, provided they have also obtained the user's password.

    How to fix Replay Attack?

    Upgrade @oneuptime/common to version 10.0.15 or higher.

    <10.0.15
    • C
    Arbitrary Code Injection

    @oneuptime/common is a The OneUptime Common UI Library is a collection of shared components, utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with React and TypeScript. It includes c

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the vm.runInContext function. An attacker can execute arbitrary code and gain access to sensitive environment variables, including cluster credentials, by submitting crafted JavaScript code through the monitor creation process. This allows direct access to the underlying process and network resources, potentially resulting in full compromise of the host and connected services.

    How to fix Arbitrary Code Injection?

    Upgrade @oneuptime/common to version 10.0.0 or higher.

    <10.0.0