CVE-2021-44565 Cross site scripting in francoisjacquet/rosariosis

Medium 5.4 Published Updated

Remote attackers can inject arbitrary JavaScript or HTML via Markdown input fields in RosarioSIS, potentially leading to session hijacking or malicious actions.

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-2021-44565?

CVE-2021-44565 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Feb 2022. 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 Cross Site Scripting (XSS) vulnerability exists in RosarioSIS before 7.6.1 via the xss_clean function in classes/Security.php, which allows remote malicious users to inject arbitrary JavaScript or HTML. An example of affected components are all Markdown input fields.

Weakness: CWE-79

Which versions are affected by CVE-2021-44565?

2 open source packages ship an affected version, including francoisjacquet/rosariosis. It affects 1 product.

PackageAffectedFixed in
francoisjacquet/rosariosis PackagistAll versions7.6.1
francoisjacquet/rosariosis PackagistAll versions7.6.1

Products include Rosariosis Rosariosis.

How do I fix CVE-2021-44565?

Upgrade francoisjacquet/rosariosis to 7.6.1 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-2021-44565 being exploited?

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

Sources

Also known as GHSA-44cg-qcpr-fwjh.

Is CVE-2021-44565 in your software?

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

Check your SBOMs for free