CVE-2026-38949 Cross-site scripting in n/a

High 8.9 Published Updated

Attackers can inject arbitrary code via the image content creation endpoint in HTMLy, potentially executing scripts in user browsers.

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-2026-38949?

CVE-2026-38949 is a high-severity cross-site scripting vulnerability in n/a, published on 28 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-Site Scripting (XSS) vulnerability exists in HTMLy version 3.1.1 in the content creation functionality at the /add/content?type=image endpoint. The application fails to properly sanitize user input, allowing injection of arbitrary code

Weakness: CWE-79

Which versions are affected by CVE-2026-38949?

How do I fix CVE-2026-38949?

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

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

Sources

Also known as GHSA-42cc-qc2r-r9fj.

Is CVE-2026-38949 in your software?

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

Check your SBOMs for free