CVE-2021-45416 RosarioSIS XSS Vulnerability

Medium 6.1 Published Updated

Attackers can inject arbitrary HTML via the search_term parameter in the Scheduling module, potentially leading to session hijacking or malicious script execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45416?

CVE-2021-45416 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Reflected Cross-site scripting (XSS) vulnerability in RosarioSIS 8.2.1 allows attackers to inject arbitrary HTML via the search_term parameter in the modules/Scheduling/Courses.php script.

Weakness: CWE-79

Which versions are affected by CVE-2021-45416?

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

PackageAffectedFixed in
francoisjacquet/rosariosis PackagistAll versions8.3
francoisjacquet/rosariosis PackagistAll versions8.3

Products include Rosariosis Rosariosis.

How do I fix CVE-2021-45416?

Upgrade francoisjacquet/rosariosis to 8.3 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-45416 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-287r-574x-f4h4.

Is CVE-2021-45416 in your software?

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

Check your SBOMs for free