VYPR
Low severity3.5NVD Advisory· Published Apr 2, 2026· Updated Apr 29, 2026

CVE-2026-5370

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.

PackageAffected versionsPatched versions
krayin/laravel-crmPackagist
<= 2.2.0

Affected products

1

Patches

1
73ed28d466bf

test: stabilize mail compose test by waiting for send response

https://github.com/krayin/laravel-crmbhaveshMar 1, 2026via ghsa
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

News mentions

0

No linked articles in our index yet.