CVE-2024-10101 Stored XSS in binary-husky/gpt_academic

Medium 5.4 Published Updated

Attackers can upload malicious HTML files to execute scripts in victims' browsers, stealing session cookies and sensitive data.

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-2024-10101?

CVE-2024-10101 is a medium-severity cross-site scripting vulnerability in binary-husky/gpt_academic, published on 17 Oct 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

A stored cross-site scripting (XSS) vulnerability exists in binary-husky/gpt_academic version 3.83. The vulnerability occurs at the /file endpoint, which renders HTML files. Malicious HTML files containing XSS payloads can be uploaded and stored in the backend, leading to the execution of the payload in the victim's browser when the file is accessed. This can result in the theft of session cookies or other sensitive information.

Weakness: CWE-79

Which versions are affected by CVE-2024-10101?

It affects 1 product.

Products include Binary-Husky Gpt Academic.

How do I fix CVE-2024-10101?

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

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

Sources

Also known as GHSA-4x58-mp6p-92gg.

Is CVE-2024-10101 in your software?

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

Check your SBOMs for free