CVE-2021-38320 MEDIUM

CVE-2021-38320: simpleSAMLphp Authentication <= 0.7.0 Reflected Cross-Site Scripting

Vendor Simplesamlphp Authentication
Product simpleSAMLphp Authentication
Weakness CWE-79 · XSS
Published September 9, 2021
Last update May 5, 2025

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The simpleSAMLphp Authentication WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to a reflected $_SERVER["PHP_SELF"] value in the ~/simplesamlphp-authentication.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 0.7.0.

Explanation of Vulnerability in Simple Terms

02Summary

simpleSAMLphp Authentication 0.7.0 contains a cross-site scripting (XSS) vulnerability that allows an attacker to inject malicious scripts into the application. The vulnerability requires user interaction—the victim must visit a crafted link or page. The impact extends beyond the vulnerable component, potentially affecting other parts of the site or user sessions. Affected sites should update to a version newer than 0.7.0.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute in a user's browser when they visit a crafted link.

Potential impact on your site

04Site Impact

Users' sessions, credentials, or personal data could be compromised if they interact with attacker-crafted links.

Conditions required to exploit

05Prerequisites

No authentication required. Victim must click a malicious link or visit an attacker-controlled page.

Key dates

06Disclosure timeline

September 9, 2021 CVE published
May 5, 2025 Record updated

Related vulnerabilities

08Related CVE