# CVE-2026-15311: NousResearch hermes-agent Matrix Adapter matrix.py MatrixAdapter._markdown_to_html cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- 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.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T23:45:10.318Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- NousResearch hermes-agent: 2026.5.29.0; 2026.5.29.1; 2026.5.29.2

## Every score

- VulDB: CVSS:4.0 5.1 Medium `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: CVSS:3.1 3.5 Low `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: CVSS:3.0 3.5 Low `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: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C`

## References

- <https://github.com/NousResearch/hermes-agent/issues/42667> (exploit, issue-tracking)
- <https://vuldb.com/vuln/377247> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/377247/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-15311> (third-party-advisory)
- <https://vuldb.com/submit/852843> (third-party-advisory)
- <https://github.com/NousResearch/hermes-agent/pull/42759> (issue-tracking, patch)
- <https://github.com/NousResearch/hermes-agent/> (product)

## Sources

- CVE List: [CVE-2026-15311](https://www.cve.org/CVERecord?id=CVE-2026-15311), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-15311](https://nvd.nist.gov/vuln/detail/CVE-2026-15311), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-15311 · Whole record: https://cve.day/CVE-2026-15311.json · Rebuilt by cve.day 2026-11-25T22:59:27.581Z
