CVE-2024-24812 Frappe Authenticated Reflected Cross site scripting (XSS) in portal pages

Medium 5.4 Published Updated

Authenticated reflected XSS in Frappe portal pages allows attackers to inject malicious JavaScript via crafted links, potentially leading to session hijacking or code execution.

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-24812?

CVE-2024-24812 is a medium-severity cross-site scripting vulnerability in frappe, published on 7 Feb 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

Frappe is a full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Prior to versions 14.59.0 and 15.5.0, portal pages are susceptible to Cross-Site Scripting (XSS) which can be used to inject malicious JS code if user clicks on a malicious link. This vulnerability has been patched in versions 14.59.0 and 15.5.0. No known workarounds are available.

Weakness: CWE-80, CWE-79

Which versions are affected by CVE-2024-24812?

It affects 1 product.

Products include Frappe Frappe.

How do I fix CVE-2024-24812?

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

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

Sources

Also known as GHSA-7p3m-h76m-hg9v.

Is CVE-2024-24812 in your software?

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

Check your SBOMs for free