CVE-2026-31281

HIGH

Totara LMS <=v19.1.5 - HTML Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-31281. PoCs published by saykino.

AI-analyzed exploit summary The repository describes an HTML injection vulnerability in Totara LMS's message box, allowing authenticated attackers to inject malicious code that executes in victims' browsers. The writeup includes technical details such as affected versions, attack type, and mitigation steps.

Description

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.

Exploits (1)

nomisec WRITEUP
by saykino · poc
https://github.com/saykino/CVE-2026-31281

The repository describes an HTML injection vulnerability in Totara LMS's message box, allowing authenticated attackers to inject malicious code that executes in victims' browsers. The writeup includes technical details such as affected versions, attack type, and mitigation steps.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Totara LMS versions <= 19.1.5
Auth required
Prerequisites: Authenticated access to Totara LMS
mistral-large-3 · analyzed Apr 13, 2026 Full analysis →

Scores

CVSS v3 8.0
EPSS 0.0030
EPSS Percentile 22.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-79
Status published
Published Apr 13, 2026
Tracked Since Apr 13, 2026