CVE-2010-10004: Cross-site Scripting Vulnerability in simplesamlphp/simplesamlphp-module-infocard

Summary

09/01/2023
Yes i
Moderate
6.1

CVE-2010-10004: Information Cards Module vulnerable to Cross-site Scripting. Affects simplesamlphp/simplesamlphp-module-infocard versions < 1.0. Fixed in 1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The simplesamlphp/simplesamlphp-module-infocard package is an Information Cards Module for the SimpleSAMLphp framework. It provides functionality for handling information cards, which are a type of identity selector used in federated identity systems. This module is vulnerable to a cross-site scripting (XSS) attack, which allows an attacker to inject malicious scripts into web pages viewed by users of the affected package.

Vulnerability Detail

The vulnerability in the simplesamlphp/simplesamlphp-module-infocard package arises from a lack of proper input sanitization. An attacker can exploit this by injecting malicious code into user-supplied input, such as form fields or query parameters. When the injected code is executed by a victim's browser, it can lead to various consequences, including session hijacking, data theft, or unauthorized actions on behalf of the victim. The vulnerability has a CVSS score of 6.1 (Moderate).

How To Fix

Minimum fixed version

1.0

This is the first release that contains the fix.

composer require simplesamlphp/simplesamlphp-module-infocard:1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is advisable to implement input validation and sanitization mechanisms in web applications to prevent XSS attacks. This can include using security libraries or frameworks that automatically sanitize user input or implementing custom input validation routines.

Conclusion

The simplesamlphp/simplesamlphp-module-infocard package is vulnerable to a cross-site scripting (XSS) attack. To mitigate this vulnerability, it is recommended to upgrade the affected component to version 1.0 and apply the provided patch. Implementing proper input validation and sanitization mechanisms in web applications is also advised. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for simplesamlphp/simplesamlphp-module-infocard →

Share this vulnerability

FAQ

The vulnerability allows an attacker to inject malicious scripts into web pages viewed by users of the affected package. This can lead to various consequences, including session hijacking, data theft, or unauthorized actions on behalf of the victim.

Yes, the vulnerability can be initiated remotely by an attacker.

The vulnerability has a CVSS score of 6.1, which is considered Moderate.

Yes, upgrading the affected component to version 1.0 and applying the provided patch can address this vulnerability.

You can find more information about this vulnerability in the GitHub Advisory Database using the identifier GHSA-2phw-rgr7-5pvh.

Related vulnerabilities

Recent vulnerabilities recorded for simplesamlphp/simplesamlphp-module-infocard.

How To Fix

Minimum fixed version

1.0

This is the first release that contains the fix.

composer require simplesamlphp/simplesamlphp-module-infocard:1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback