CVE-2025-40834 Cross-site scripting in Mendix RichText

Medium 6.8 Published Updated

An attacker can execute cross-site scripting attacks via the Mendix RichText widget due to improper input neutralization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-40834?

CVE-2025-40834 is a medium-severity cross-site scripting vulnerability in Siemens Mendix RichText, published on 17 Nov 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability has been identified in Mendix RichText (All versions >= V4.0.0 < V4.6.1). Affected widget does not properly neutralize the input. This could allow an attacker to execute cross-site scripting attacks.

Weakness: CWE-79

Which versions are affected by CVE-2025-40834?

How do I fix CVE-2025-40834?

No fix has been published for CVE-2025-40834 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-2025-40834 being exploited?

There is no known exploitation of CVE-2025-40834 in the wild and no public exploit code.

Sources

Also known as GHSA-7xr6-x66r-h3w5.

Is CVE-2025-40834 in your software?

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

Check your SBOMs for free