CVE-2026-5370
Description
A vulnerability was identified in krayin laravel-crm up to 2.2. Impacted is the function composeMail of the file packages/Webkul/Admin/tests/e2e-pw/tests/mail/inbox.spec.ts of the component Activities Module/Notes Module. The manipulation leads to cross site scripting. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. The identifier of the patch is 73ed28d466bf14787fdb86a120c656a4af270153. To fix this issue, it is recommended to deploy a patch.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
krayin/laravel-crmPackagist | <= 2.2.0 | — |
Affected products
1Patches
173ed28d466bftest: stabilize mail compose test by waiting for send response
1 file changed · +7 −2
packages/Webkul/Admin/tests/e2e-pw/tests/mail/inbox.spec.ts+7 −2 modified@@ -25,8 +25,13 @@ async function composeMail(adminPage, ccMail = false, bccMail = false) { /** * Sending mail and closing the modal. */ - await adminPage.getByRole("button", { name: "Send" }).click(); - + await Promise.all([ + adminPage.waitForResponse(response => + response.url().includes('/admin/mail') && response.status() === 200 + ), + adminPage.getByRole("button", { name: "Send" }).click(), + ]); + await expect(adminPage.getByRole("dialog")).not.toBeVisible(); await expect(adminPage.getByText("Email sent successfully.")).toBeVisible(); }
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-9m2v-hc5g-5jpvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-5370ghsaADVISORY
- github.com/krayin/laravel-crm/commit/73ed28d466bf14787fdb86a120c656a4af270153nvdWEB
- github.com/krayin/laravel-crm/issues/2419nvdWEB
- github.com/krayin/laravel-crm/pull/2466nvdWEB
- vuldb.com/submit/781666nvdWEB
- vuldb.com/vuln/354756nvdWEB
- vuldb.com/vuln/354756/ctinvdWEB
News mentions
0No linked articles in our index yet.