Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 89%

CVE-2026-15311: Cross Site Scripting in NousResearch hermes-agent

0
Medium
VulnerabilityCVE-2026-15311cvecve-2026-15311
Published: 07/09/2026 (07/09/2026, 23:45:10 UTC)
Source: CVE Database V5
Vendor/Project: NousResearch
Product: hermes-agent

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
nousresearch/hermes-agent
pkg:github/nousresearch/hermes-agent
Affected versions
=2026.5.29.0=2026.5.29.1=2026.5.29.2
CPE configurations
cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/17/2026, 09:52:21 UTC

Technical Analysis

The NousResearch hermes-agent contains a cross-site scripting vulnerability in the MatrixAdapter._markdown_to_html function within gateway/platforms/matrix.py. This flaw allows remote attackers to execute script code by manipulating markdown input that is converted to HTML without proper sanitization. The vulnerability affects versions 2026.5.29.0 through 2026.5.29.2. Although a pull request with a fix exists, it has not yet been merged or officially released. No official patch or remediation is currently available.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or other malicious actions. The vulnerability requires low attack complexity and no privileges but does require user interaction. The impact is limited to cross-site scripting without direct code execution or privilege escalation.

Mitigation Recommendations

No official patch or fix has been released yet; the pull request to fix the issue is awaiting acceptance. Users should monitor the vendor's repository or advisory channels for the official fix. Until then, consider applying any available temporary mitigations such as input sanitization or disabling markdown rendering if feasible. Avoid exposing the vulnerable component to untrusted users where possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-07-09T17:49:30.256Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a503a4168715ace434e6a78

Added to database: 07/10/2026, 00:18:09 UTC

Last enriched: 07/17/2026, 09:52:21 UTC

Last updated: 08/22/2026, 10:52:07 UTC

Views: 128

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses