Home / NousResearch / hermes-agent / CVE-2026-15311
CVE-2026-15311: is it exploited, and which versions of NousResearch hermes-agent are affected and fixed?
CVE-2026-15311 is a cross-site scripting (XSS) vulnerability in NousResearch hermes-agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: hermes-agent 2026.5.29.0, hermes-agent 2026.5.29.1 and hermes-agent 2026.5.29.2 (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-15311?
NousResearch hermes-agent Matrix Adapter matrix.py MatrixAdapter._markdown_to_html cross site scripting
A vulnerability was identified in NousResearch hermes-agent up to 2026.5.29.2. Affected by this issue is the function MatrixAdapter._markdown_to_html of the file gateway/platforms/matrix.py of the component Matrix Adapter. Such manipulation leads to cross site scripting. The attack can be executed remotely. The exploit is publicly available and might be used. The pull request to fix this issue awaits acceptance.
From the CVE record by VulDB, last updated July 10, 2026, 14:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NousResearch | hermes-agent | 2026.5.29.0 2026.5.29.1 2026.5.29.2 |
As the CVE record by VulDB states it, last updated July 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-15311?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P | VulDB |
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C | VulDB |
| Low 3.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C | VulDB |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-15311 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 10, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- VDB-377247 | NousResearch hermes-agent Matrix Adapter matrix.py MatrixAdapter._markdown_to_html cross site scripting vdb-entry, technical-description
- VDB-377247 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-15311 | CVE Analysis and Report third-party-advisory
- Submit #852843 | NousResearch hermes-agent 2026.5.29.2 Cross-site Scripting (CWE-79) third-party-advisory
- https://github.com/NousResearch/hermes-agent/issues/42667 exploit, issue-tracking
- https://github.com/NousResearch/hermes-agent/pull/42759 issue-tracking, patch
- https://github.com/NousResearch/hermes-agent/ product
Who found and reported it?
- Eric-d (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 9, 2026
- Published
- July 9, 2026, 23:45 UTC
- CVE record updated
- July 10, 2026, 14:12 UTC by VulDB
- NVD
- Deferred, last modified October 25, 2026, 15:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hermes-agent?
- Dec 1, 2026CVE-2026-140425 NousResearch hermes-agent: missing Origin Validation in WebSockets
- Nov 23, 2026CVE-2026-130164 NousResearch hermes-agent: external Control of System or Configuration Setting
- Sep 3, 2026CVE-2026-71963 NousResearch hermes-agent: OS command injection
- Sep 3, 2026CVE-2026-85107 NousResearch hermes-agent: denial of service (resources allocated without limits)
- Sep 3, 2026CVE-2026-85106 NousResearch hermes-agent: server-side request forgery (SSRF)
- Sep 3, 2026CVE-2026-85105 NousResearch hermes-agent: authorization bypass through a user-controlled key (IDOR)
- Sep 1, 2026CVE-2026-84289 NousResearch hermes-agent: memory Allocation with Excessive Size Value
- Sep 1, 2026CVE-2026-84288 NousResearch hermes-agent: resource not released
Questions about CVE-2026-15311
Is CVE-2026-15311 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NousResearch hermes-agent are affected by CVE-2026-15311?
hermes-agent 2026.5.29.0, hermes-agent 2026.5.29.1 and hermes-agent 2026.5.29.2, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-15311?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-15311?
Medium (5.1, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-15311?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.