Totara LMS In‑App Messaging HTML Injection Leading to Cross‑Site Scripting
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Totara | Lms |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.307% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/saykino/CVE-2026-31281 |
|
| https://www.totara.com/ |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Totara LMS In‑App Messaging HTML Injection Leading to Cross‑Site Scripting |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Totara LMS v19.1.5 and before is vulnerable to HTLM Injection. An attacker can inject malicious HTLM code in a message and send it to all the users in the application, resulting in executing the code and may lead to session hijacking and executing commands on the victim's browser. | Totara LMS v19.1.5 and before is vulnerable to HTML Injection. An attacker can inject malicious HTML code in a message and send it to all the users in the application, resulting in executing the code and may lead to session hijacking and executing commands on the victim's browser. NOTE: The supplier states that the product name is Totara Learning and that the functionality referenced is the in app messaging client. They note that the in app messaging client only has the ability to embed a specific allowed list of HTML tags commonly used for text enhancement, which includes italic, bold, underline, strong, etc. Last, they state that the in app messaging client cannot embed <script>, <style>, <iframe>, <object>, <embed>, <form>, <input>, <button>, <svg>, <math>, etc., and any attempt to embed tags or attributes outside of the allowed list (including onerror, onaction, etc.) is sanitized via DOMPurify. |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | HTML Injection in Totara LMS Permits Cross‑Site Scripting and Session Hijacking |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | HTML Injection in Totara LMS Permits Cross‑Site Scripting and Session Hijacking | |
| Weaknesses | CWE-79 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Totara
Totara lms |
|
| Vendors & Products |
Totara
Totara lms |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Totara LMS v19.1.5 and before is vulnerable to HTLM Injection. An attacker can inject malicious HTLM code in a message and send it to all the users in the application, resulting in executing the code and may lead to session hijacking and executing commands on the victim's browser. | |
| References |
|