CVE-2022-47419 Mayan EDMS Tag XSS

Medium 5.4 Published Updated

Attackers can inject malicious scripts via the tagging system in Mayan EDMS, 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
Available

What is CVE-2022-47419?

CVE-2022-47419 is a medium-severity cross-site scripting vulnerability in Mayan EDMS, published on 7 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An XSS vulnerability was discovered in the Mayan EDMS DMS. Successful XSS exploitation was observed in the in-product tagging system.

Weakness: CWE-79

Which versions are affected by CVE-2022-47419?

3 open source packages ship an affected version, including mayan-edms. It affects 1 product.

PackageAffectedFixed in
mayan-edms PyPIAll versions4.3.6
mayan-edms PyPIAll versions4.3.6
mayan-edms PyPIAll versions4.3.6

Products include Mayan-Edms Mayan Edms.

How do I fix CVE-2022-47419?

Upgrade mayan-edms to 4.3.6 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-2022-47419 being exploited?

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

Sources

Also known as GHSA-5m6v-2xgf-qhrw, PYSEC-2023-276.

Is CVE-2022-47419 in your software?

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

Check your SBOMs for free