CVE-2026-15311 Details
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.
A cross-site scripting vulnerability has been identified in the Matrix adapter of NousResearch Hermes-Agent, affecting versions through 2026.5.29.2. The issue arises in the function MatrixAdapter._markdown_to_html within the file gateway/platforms/matrix.py. This vulnerability allows for the injection of raw HTML and dangerous link schemes, such as 'javascript:', into outbound Matrix messages. The flaw can be exploited remotely, and the public exploit is available.
A pull request to fix this vulnerability has been submitted and is awaiting acceptance.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2026CISA-ADP
Assessed Jul 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NousResearch/hermes-agent/ | [email protected] | Source CodeVendor |
| https://github.com/NousResearch/hermes-agent/issues/42667 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/NousResearch/hermes-agent/pull/42759 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-15311 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/852843 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/377247 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/377247/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NousResearch hermes-agent | <= 2026.5.29.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 10, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2026 | New CVE Received | [email protected] |
Volerion