# CVE-2026-31281: Totara LMS v19.1.5 and before is vulnerable to HTML Injection.

- Severity: High 8.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-04-13T00:00:00.000Z
- Modified: 2026-06-17T10:33:34.207Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://www.totara.com/>
- <https://github.com/saykino/CVE-2026-31281>

## Sources

- CVE List: [CVE-2026-31281](https://www.cve.org/CVERecord?id=CVE-2026-31281), CVE Terms of Use, modified 2026-04-24
- NVD: [CVE-2026-31281](https://nvd.nist.gov/vuln/detail/CVE-2026-31281), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31281 · Whole record: https://cve.day/CVE-2026-31281.json · Rebuilt by cve.day 2026-11-25T22:59:18.618Z
