CVE-2024-6986 Cross-site Scripting (XSS) in parisneo/lollms-webui

Medium 5.5 Published Updated

Attackers can execute malicious JavaScript via the System Template input due to improper HTML rendering in the Settings page.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-6986?

CVE-2024-6986 is a medium-severity cross-site scripting vulnerability in parisneo/lollms-webui, published on 20 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A Cross-site Scripting (XSS) vulnerability exists in the Settings page of parisneo/lollms-webui version 9.8. The vulnerability is due to the improper use of the 'v-html' directive, which inserts the content of the 'full_template' variable directly as HTML. This allows an attacker to execute malicious JavaScript code by injecting a payload into the 'System Template' input field under main configurations.

Weakness: CWE-79

Which versions are affected by CVE-2024-6986?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-6986?

No fix has been published for CVE-2024-6986 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-6986 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6986 exists.

Sources

Also known as GHSA-4g3f-9mfg-xxgh.

Is CVE-2024-6986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free