CVE-2026-71447: Stored Cross-Site Scripting in Chat and Forum Translation Controls in ail-framework
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'] }}', '{{ messidescape }}', this)"
and:
onclick="translatePostToPreferredLanguage('{{ post['id'] }}', '{{ postidescape }}', 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-71447?
CVE-2026-71447 has a risk score of 45, indicating a moderate level of severity.
What is CVE-2026-71447?
CVE-2026-71447 is a stored cross-site scripting vulnerability in the translation controls of the AIL Project's chat and forum features.
How do I fix CVE-2026-71447?
To fix CVE-2026-71447, ensure that message and post identifiers are properly sanitized before being used in JavaScript event handlers.
What software is affected by CVE-2026-71447?
The affected software includes the ail-framework and components of the AIL Project.
When was CVE-2026-71447 published?
CVE-2026-71447 was published on August 6, 2026.