CVE-2024-36110 Cross-site scripting in ansibleguy-webui

High 8.2 Published Updated

Attackers can inject HTML into Ansible WebUI forms, leading to script execution in the victim's browser when job actions are executed.

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
Available

What is CVE-2024-36110?

CVE-2024-36110 is a high-severity cross-site scripting vulnerability in ansibleguy webui, published on 28 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

ansibleguy-webui is an open source WebUI for using Ansible. Multiple forms in versions < 0.0.21 allowed injection of HTML elements. These are returned to the user after executing job actions and thus evaluated by the browser. These issues have been addressed in version 0.0.21 (0.0.21.post2 on pypi). Users are advised to upgrade. There are no known workarounds for these issues.

Weakness: CWE-79

Which versions are affected by CVE-2024-36110?

3 open source packages ship an affected version, including ansibleguy-webui.

PackageAffectedFixed in
ansibleguy-webui PyPIAll versions0.0.21
ansibleguy-webui PyPIAll versions0.0.21
ansibleguy-webui PyPIAll versions0.0.21

How do I fix CVE-2024-36110?

Upgrade ansibleguy-webui to 0.0.21 or later.

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-36110 being exploited?

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

Sources

Also known as GHSA-927p-xrc2-x2gj, PYSEC-2026-1126.

Is CVE-2024-36110 in your software?

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

Check your SBOMs for free