# CVE-2023-43656: Sandbox escape for instances that have enabled transformation functions in matrix-hookshot

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2023-09-27T20:38:57.460Z
- Modified: 2026-06-17T06:26:10.043Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. Instances that have enabled transformation functions (those that have `generic.allowJsTransformationFunctions` in their config), may be vulnerable to an attack where it is possible to break out of the `vm2` sandbox and as a result Hookshot will be vulnerable to this. This problem is only likely to affect users who have allowed untrusted users to apply their own transformation functions. If you have only enabled a limited set of trusted users, this threat is reduced (though not eliminated). Version 4.5.0 and above of hookshot include a new sandbox library which should better protect users. Users are advised to upgrade. Users unable to upgrade should disable `generic.allowJsTransformationFunctions` in the config.

(As written by CVE List.)

## Affected

- matrix-org matrix-hookshot: < 4.5.0
- matrix hookshot: before 4.5.0

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/matrix-org/matrix-hookshot/security/advisories/GHSA-fr97-pv6w-4cj6> (vendor-advisory)
- <https://github.com/matrix-org/matrix-hookshot/commit/dc126afa6af86d66aefcd23a825326f405bcc894> (patch)

## Sources

- CVE List: [CVE-2023-43656](https://www.cve.org/CVERecord?id=CVE-2023-43656), CVE Terms of Use, modified 2024-09-20
- NVD: [CVE-2023-43656](https://nvd.nist.gov/vuln/detail/CVE-2023-43656), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-43656 · Whole record: https://cve.day/CVE-2023-43656.json · Rebuilt by cve.day 2026-11-25T22:58:28.238Z
