Vulnerabilities

5 via 5 paths

Dependencies

280

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 5
  • 90
Severity
  • 2
  • 92
  • 1
Status
  • 95
  • 0
  • 0

high severity

Directory Traversal

  • Vulnerable module: hono
  • Introduced through: hono@4.12.34

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › hono@4.12.34
    Remediation: Upgrade to hono@4.13.5.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Directory Traversal in the toSSG() static site generation function, whose path normalization does not fully collapse runs of consecutive .. segments and treats output directories that differ only in how they are rooted as equivalent. An attacker can cause build output to be written outside the intended output directory by supplying a route parameter with enough .. sequences that reaches ssgParams from an untrusted source.

Note: This affects build-time static site generation only, not request-time routing, and requires the application to build pages from ssgParams values sourced from untrusted origins such as a CMS, API, or user submissions.

Note: This is a bypass of the fix for the vulnerability described in CVE-2026-39408.

Details

A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder. By manipulating files with "dot-dot-slash (../)" sequences and its variations, or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system, including application source code, configuration, and other critical system files.

Directory Traversal vulnerabilities can be generally divided into two types:

  • Information Disclosure: Allows the attacker to gain information about the folder structure or read the contents of sensitive files on the system.

st is a module for serving static files on web pages, and contains a vulnerability of this type. In our example, we will serve files from the public route.

If an attacker requests the following URL from our server, it will in turn leak the sensitive private key of the root user.

curl http://localhost:8080/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/root/.ssh/id_rsa

Note %2e is the URL encoded version of . (dot).

  • Writing arbitrary files: Allows the attacker to create or replace existing files. This type of vulnerability is also known as Zip-Slip.

One way to achieve this is by using a malicious zip archive that holds path traversal filenames. When each filename in the zip archive gets concatenated to the target extraction folder, without validation, the final path ends up outside of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

The following is an example of a zip archive with one benign file and one malicious file. Extracting the malicious file will result in traversing out of the target folder, ending up in /root/.ssh/ overwriting the authorized_keys file:

2018-04-15 22:04:29 .....           19           19  good.txt
2018-04-15 22:04:42 .....           20           20  ../../../../../../root/.ssh/authorized_keys

Remediation

Upgrade hono to version 4.13.5 or higher.

References

high severity

HTTP Request Smuggling

  • Vulnerable module: hono
  • Introduced through: hono@4.12.34

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › hono@4.12.34
    Remediation: Upgrade to hono@4.13.5.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to HTTP Request Smuggling in its query parsing helpers, which do not terminate at the URL fragment and parse a ? appearing after a # as the start of the query string. An attacker can smuggle parameters past upstream allow/deny lists and validation, poison cache entries with unobserved parameters, or achieve stored XSS in cached HTML, by placing query parameters after a # fragment so browsers, new URL(), and reverse proxies ignore them while the query helpers still read them. This requires a literal # in the request URL to reach the application, and deployments behind intermediaries that strip fragments or runtimes that normalize URLs, such as Cloudflare Workers, are unaffected.

Remediation

Upgrade hono to version 4.13.5 or higher.

References

medium severity

Double Decoding of the Same Data

  • Vulnerable module: hono
  • Introduced through: hono@4.12.34

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › hono@4.12.34
    Remediation: Upgrade to hono@4.13.11.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Double Decoding of the Same Data via double URL-decoding in the serveStatic middleware, where a percent-encoded path is decoded a second time after routing. An attacker can supply a request path containing percent-encoded sequences that, after the additional decoding pass, resolve to a path that bypasses access controls, allowing unauthorized read access to protected static files.

Remediation

Upgrade hono to version 4.13.11 or higher.

References

medium severity

Asymmetric Resource Consumption (Amplification)

  • Vulnerable module: hono
  • Introduced through: hono@4.12.34

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › hono@4.12.34
    Remediation: Upgrade to hono@4.13.5.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) in the parseBody() function, which expands dot-separated form field names into nested objects without limiting nesting depth or total object creation. An attacker can exhaust the JavaScript heap and terminate the server process by sending concurrent requests with deeply dotted field names, since a body within the normal size limit allocates an object graph far larger than the request itself. This requires the endpoint to have dot-notation parsing enabled, which is off by default.

Remediation

Upgrade hono to version 4.13.5 or higher.

References

medium severity

MPL-2.0 license

  • Module: @capgo/camera-preview
  • Introduced through: @capgo/camera-preview@8.11.6

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/camera-preview@8.11.6

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-accelerometer
  • Introduced through: @capgo/capacitor-accelerometer@8.0.57

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-accelerometer@8.0.57

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-age-range
  • Introduced through: @capgo/capacitor-age-range@8.2.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-age-range@8.2.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-alarm
  • Introduced through: @capgo/capacitor-alarm@8.1.16

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-alarm@8.1.16

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-android-age-signals
  • Introduced through: @capgo/capacitor-android-age-signals@8.1.32

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-android-age-signals@8.1.32

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-android-inline-install
  • Introduced through: @capgo/capacitor-android-inline-install@8.0.21

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-android-inline-install@8.0.21

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-android-kiosk
  • Introduced through: @capgo/capacitor-android-kiosk@8.3.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-android-kiosk@8.3.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-android-sms-retriever
  • Introduced through: @capgo/capacitor-android-sms-retriever@8.1.4

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-android-sms-retriever@8.1.4

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-app-attest
  • Introduced through: @capgo/capacitor-app-attest@8.2.20

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-app-attest@8.2.20

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-asset-cache
  • Introduced through: @capgo/capacitor-asset-cache@8.1.10

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-asset-cache@8.1.10

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-audio-recorder
  • Introduced through: @capgo/capacitor-audio-recorder@8.4.1

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-audio-recorder@8.4.1

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-audio-session
  • Introduced through: @capgo/capacitor-audio-session@8.1.10

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-audio-session@8.1.10

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-autofill-save-password
  • Introduced through: @capgo/capacitor-autofill-save-password@8.2.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-autofill-save-password@8.2.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-background-task
  • Introduced through: @capgo/capacitor-background-task@8.1.14

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-background-task@8.1.14

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-barometer
  • Introduced through: @capgo/capacitor-barometer@8.0.25

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-barometer@8.0.25

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-bluetooth-low-energy
  • Introduced through: @capgo/capacitor-bluetooth-low-energy@8.2.9

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-bluetooth-low-energy@8.2.9

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-brightness
  • Introduced through: @capgo/capacitor-brightness@8.0.26

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-brightness@8.0.26

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-calendar
  • Introduced through: @capgo/capacitor-calendar@8.0.17

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-calendar@8.0.17

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-compass
  • Introduced through: @capgo/capacitor-compass@8.1.26

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-compass@8.1.26

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-contacts
  • Introduced through: @capgo/capacitor-contacts@8.1.12

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-contacts@8.1.12

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-crisp
  • Introduced through: @capgo/capacitor-crisp@8.2.15

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-crisp@8.2.15

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-data-storage-sqlite
  • Introduced through: @capgo/capacitor-data-storage-sqlite@8.0.63

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-data-storage-sqlite@8.0.63

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-date-picker
  • Introduced through: @capgo/capacitor-date-picker@8.1.16

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-date-picker@8.1.16

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-device-info
  • Introduced through: @capgo/capacitor-device-info@8.0.18

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-device-info@8.0.18

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-device-integrity
  • Introduced through: @capgo/capacitor-device-integrity@8.0.17

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-device-integrity@8.0.17

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-document-scanner
  • Introduced through: @capgo/capacitor-document-scanner@8.4.19

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-document-scanner@8.4.19

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-downloader
  • Introduced through: @capgo/capacitor-downloader@8.3.21

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-downloader@8.3.21

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-env
  • Introduced through: @capgo/capacitor-env@8.1.54

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-env@8.1.54

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-fast-sql
  • Introduced through: @capgo/capacitor-fast-sql@8.2.13

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-fast-sql@8.2.13

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-file
  • Introduced through: @capgo/capacitor-file@8.0.26

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-file@8.0.26

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-file-compressor
  • Introduced through: @capgo/capacitor-file-compressor@8.1.21

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-file-compressor@8.1.21

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-file-picker
  • Introduced through: @capgo/capacitor-file-picker@8.2.9

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-file-picker@8.2.9

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-file-sharer
  • Introduced through: @capgo/capacitor-file-sharer@8.1.18

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-file-sharer@8.1.18

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-flash
  • Introduced through: @capgo/capacitor-flash@8.0.53

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-flash@8.0.53

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-home-indicator
  • Introduced through: @capgo/capacitor-home-indicator@8.1.7

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-home-indicator@8.1.7

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-inappbrowser
  • Introduced through: @capgo/capacitor-inappbrowser@8.27.8

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-inappbrowser@8.27.8

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-install-referrer
  • Introduced through: @capgo/capacitor-install-referrer@8.1.17

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-install-referrer@8.1.17

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-intent-launcher
  • Introduced through: @capgo/capacitor-intent-launcher@8.3.43

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-intent-launcher@8.3.43

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-intercom
  • Introduced through: @capgo/capacitor-intercom@8.2.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-intercom@8.2.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-is-root
  • Introduced through: @capgo/capacitor-is-root@8.2.8

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-is-root@8.2.8

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-ivs-player
  • Introduced through: @capgo/capacitor-ivs-player@8.0.46

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-ivs-player@8.0.46

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-jw-player
  • Introduced through: @capgo/capacitor-jw-player@8.0.64

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-jw-player@8.0.64

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-keep-awake
  • Introduced through: @capgo/capacitor-keep-awake@8.1.22

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-keep-awake@8.1.22

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-launch-navigator
  • Introduced through: @capgo/capacitor-launch-navigator@8.1.8

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-launch-navigator@8.1.8

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-light-sensor
  • Introduced through: @capgo/capacitor-light-sensor@8.1.25

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-light-sensor@8.1.25

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-llm
  • Introduced through: @capgo/capacitor-llm@8.2.2

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-llm@8.2.2

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-media-session
  • Introduced through: @capgo/capacitor-media-session@8.1.10

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-media-session@8.1.10

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-mock-location-detector
  • Introduced through: @capgo/capacitor-mock-location-detector@8.0.12

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-mock-location-detector@8.0.12

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-mqtt
  • Introduced through: @capgo/capacitor-mqtt@8.1.18

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-mqtt@8.1.18

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-mute
  • Introduced through: @capgo/capacitor-mute@8.1.20

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-mute@8.1.20

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-mux-player
  • Introduced through: @capgo/capacitor-mux-player@8.1.4

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-mux-player@8.1.4

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-native-audio
  • Introduced through: @capgo/capacitor-native-audio@8.5.3

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-native-audio@8.5.3

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-native-biometric
  • Introduced through: @capgo/capacitor-native-biometric@8.9.3

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-native-biometric@8.9.3

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-native-loader
  • Introduced through: @capgo/capacitor-native-loader@8.1.14

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-native-loader@8.1.14

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-native-market
  • Introduced through: @capgo/capacitor-native-market@8.0.59

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-native-market@8.0.59

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-native-navigation
  • Introduced through: @capgo/capacitor-native-navigation@8.16.3

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-native-navigation@8.16.3

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-nativegeocoder
  • Introduced through: @capgo/capacitor-nativegeocoder@8.0.63

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-nativegeocoder@8.0.63

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-navigation-bar
  • Introduced through: @capgo/capacitor-navigation-bar@8.2.22

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-navigation-bar@8.2.22

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-network-diagnostics
  • Introduced through: @capgo/capacitor-network-diagnostics@8.0.17

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-network-diagnostics@8.0.17

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-nfc
  • Introduced through: @capgo/capacitor-nfc@8.3.9

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-nfc@8.3.9

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-pdf-generator
  • Introduced through: @capgo/capacitor-pdf-generator@8.0.52

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-pdf-generator@8.0.52

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-pdf-viewer
  • Introduced through: @capgo/capacitor-pdf-viewer@8.3.2

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-pdf-viewer@8.3.2

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-pedometer
  • Introduced through: @capgo/capacitor-pedometer@8.0.56

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-pedometer@8.0.56

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-permissions
  • Introduced through: @capgo/capacitor-permissions@8.2.10

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-permissions@8.2.10

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-persistent-account
  • Introduced through: @capgo/capacitor-persistent-account@8.0.53

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-persistent-account@8.0.53

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-pretty-toast
  • Introduced through: @capgo/capacitor-pretty-toast@8.1.30

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-pretty-toast@8.1.30

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-printer
  • Introduced through: @capgo/capacitor-printer@8.1.11

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-printer@8.1.11

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-privacy-screen
  • Introduced through: @capgo/capacitor-privacy-screen@8.3.16

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-privacy-screen@8.3.16

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-recaptcha
  • Introduced through: @capgo/capacitor-recaptcha@8.1.20

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-recaptcha@8.1.20

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-ricoh360
  • Introduced through: @capgo/capacitor-ricoh360@8.1.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-ricoh360@8.1.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-screen-orientation
  • Introduced through: @capgo/capacitor-screen-orientation@8.4.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-screen-orientation@8.4.5

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-screen-recorder
  • Introduced through: @capgo/capacitor-screen-recorder@8.4.9

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-screen-recorder@8.4.9

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-shake
  • Introduced through: @capgo/capacitor-shake@8.0.57

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-shake@8.0.57

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-sim
  • Introduced through: @capgo/capacitor-sim@8.0.54

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-sim@8.0.54

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-speech-recognition
  • Introduced through: @capgo/capacitor-speech-recognition@8.4.8

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-speech-recognition@8.4.8

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-speech-synthesis
  • Introduced through: @capgo/capacitor-speech-synthesis@8.0.29

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-speech-synthesis@8.0.29

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-textinteraction
  • Introduced through: @capgo/capacitor-textinteraction@8.1.10

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-textinteraction@8.1.10

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-updater
  • Introduced through: @capgo/capacitor-updater@8.53.0

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-updater@8.53.0

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-uploader
  • Introduced through: @capgo/capacitor-uploader@8.3.30

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-uploader@8.3.30

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-uwb
  • Introduced through: @capgo/capacitor-uwb@8.0.11

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-uwb@8.0.11

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-video-player
  • Introduced through: @capgo/capacitor-video-player@8.3.2

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-video-player@8.3.2

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-video-thumbnails
  • Introduced through: @capgo/capacitor-video-thumbnails@8.1.27

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-video-thumbnails@8.1.27

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-volume-buttons
  • Introduced through: @capgo/capacitor-volume-buttons@8.1.8

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-volume-buttons@8.1.8

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-webview-crash
  • Introduced through: @capgo/capacitor-webview-crash@8.1.15

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-webview-crash@8.1.15

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-webview-guardian
  • Introduced through: @capgo/capacitor-webview-guardian@8.1.6

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-webview-guardian@8.1.6

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-webview-version-checker
  • Introduced through: @capgo/capacitor-webview-version-checker@8.2.21

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-webview-version-checker@8.2.21

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-wifi
  • Introduced through: @capgo/capacitor-wifi@8.5.12

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-wifi@8.5.12

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-youtube-player
  • Introduced through: @capgo/capacitor-youtube-player@8.3.18

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-youtube-player@8.3.18

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-zebra-datawedge
  • Introduced through: @capgo/capacitor-zebra-datawedge@8.2.9

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-zebra-datawedge@8.2.9

MPL-2.0 license

medium severity

MPL-2.0 license

  • Module: @capgo/capacitor-zip
  • Introduced through: @capgo/capacitor-zip@8.2.5

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › @capgo/capacitor-zip@8.2.5

MPL-2.0 license

low severity

Cross-site Scripting (XSS)

  • Vulnerable module: hono
  • Introduced through: hono@4.12.34

Detailed paths

  • Introduced through: capgo-app@Cap-go/capgo › hono@4.12.34
    Remediation: Upgrade to hono@4.13.7.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via insufficient server-side HTML escaping in the JSX rendering pipeline. Untrusted values - including array roots, boundary objects, fallback objects, and provider objects - are passed through childrenToString and related rendering paths without being escaped, allowing an attacker to inject arbitrary HTML or JavaScript into server-rendered output. A remote attacker can supply a malicious string through any of these unescaped rendering paths to execute scripts in a victim's browser.

Details

Cross-site scripting (or XSS) is a code vulnerability that occurs when an attacker “injects” a malicious script into an otherwise trusted website. The injected script gets downloaded and executed by the end user’s browser when the user interacts with the compromised website.

This is done by escaping the context of the web application; the web application then delivers that data to its users along with other trusted dynamic content, without validating it. The browser unknowingly executes malicious script on the client side (through client-side languages; usually JavaScript or HTML) in order to perform actions that are otherwise typically blocked by the browser’s Same Origin Policy.

Injecting malicious code is the most prevalent manner by which XSS is exploited; for this reason, escaping characters in order to prevent this manipulation is the top method for securing code against this vulnerability.

Escaping means that the application is coded to mark key characters, and particularly key characters included in user input, to prevent those characters from being interpreted in a dangerous context. For example, in HTML, < can be coded as &lt; and > can be coded as &gt; in order to be interpreted and displayed as themselves in text, while within the code itself, they are used for HTML tags. If malicious content is injected into an application that escapes special characters and that malicious content uses < and > as HTML tags, those characters are nonetheless not interpreted as HTML tags by the browser if they’ve been correctly escaped in the application code and in this way the attempted attack is diverted.

The most prominent use of XSS is to steal cookies (source: OWASP HttpOnly) and hijack user sessions, but XSS exploits have been used to expose sensitive information, enable access to privileged services and functionality and deliver malware.

Types of attacks

There are a few methods by which XSS can be manipulated:

Type Origin Description
Stored Server The malicious code is inserted in the application (usually as a link) by the attacker. The code is activated every time a user clicks the link.
Reflected Server The attacker delivers a malicious link externally from the vulnerable web site application to a user. When clicked, malicious code is sent to the vulnerable web site, which reflects the attack back to the user’s browser.
DOM-based Client The attacker forces the user’s browser to render a malicious page. The data in the page itself delivers the cross-site scripting data.
Mutated The attacker injects code that appears safe, but is then rewritten and modified by the browser, while parsing the markup. An example is rebalancing unclosed quotation marks or even adding quotation marks to unquoted parameters.

Affected environments

The following environments are susceptible to an XSS attack:

  • Web servers
  • Application servers
  • Web application environments

How to prevent

This section describes the top best practices designed to specifically protect your code:

  • Sanitize data input in an HTTP request before reflecting it back, ensuring all data is validated, filtered or escaped before echoing anything back to the user, such as the values of query parameters during searches.
  • Convert special characters such as ?, &, /, <, > and spaces to their respective HTML or URL encoded equivalents.
  • Give users the option to disable client-side scripts.
  • Redirect invalid requests.
  • Detect simultaneous logins, including those from two separate IP addresses, and invalidate those sessions.
  • Use and enforce a Content Security Policy (source: Wikipedia) to disable any features that might be manipulated for an XSS attack.
  • Read the documentation for any of the libraries referenced in your code to understand which elements allow for embedded HTML.

Remediation

Upgrade hono to version 4.13.7 or higher.

References