CVE-2012-0040
CVE-2012-0040 is a medium-severity vulnerability in Simplesamlphp with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 1% (69th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Simplesamlphp
- Published:
- Last modified:
Description
Cross-site scripting (XSS) vulnerability in modules/core/www/no_cookie.php in SimpleSAMLphp 1.8.1 and possibly other versions before 1.8.2 allows remote attackers to inject arbitrary web script or HTML via the retryURL parameter.
Frequently asked questions
- What is CVE-2012-0040?
- Cross-site scripting (XSS) vulnerability in modules/core/www/no_cookie.php in SimpleSAMLphp 1.8.1 and possibly other versions before 1.8.2 allows remote attackers to inject arbitrary web script or HTML via the retryURL parameter.
- How severe is CVE-2012-0040?
- CVE-2012-0040 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2012-0040 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (69th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-0040?
- CVE-2012-0040 primarily affects Simplesamlphp. In total, 16 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0040?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-0040 published?
- CVE-2012-0040 was published on 2012-01-24 and last updated on 2026-06-16.
References
- http://code.google.com/p/simplesamlphp/issues/detail?id=468
- http://osvdb.org/78254
- http://secunia.com/advisories/47491
- http://secunia.com/advisories/47534
- http://www.debian.org/security/2012/dsa-2387
- http://www.openwall.com/lists/oss-security/2012/01/20/20
- http://www.securityfocus.com/bid/51372
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72313
Affected products (16)
- cpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:0.4:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:0.5:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.1:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.2:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.3:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.4:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.5:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.6:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.7:*:*:*:*:*:*:*
- cpe:2.3:a:simplesamlphp:simplesamlphp:1.8:*:*:*:*:*:*:*
More vulnerabilities in Simplesamlphp
- CVE-2018-6521 — Critical (CVSS 9.8): The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon…
- CVE-2017-12873 — Critical (CVSS 9.8): SimpleSAMLphp 1.7.0 through 1.14.10 might allow attackers to obtain sensitive information, gain unauthorized access, or…
- CVE-2017-12868 — Critical (CVSS 9.8): The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used with PHP…
- CVE-2016-9814 — Critical (CVSS 9.1): The validateSignature method in the SAML2\Utils class in SimpleSAMLphp before 1.14.10 and simplesamlphp/saml2 library…
- CVE-2019-3465 — High (CVSS 8.8): Rob Richards XmlSecLibs, all versions prior to v3.0.3, as used for example by SimpleSAMLphp, performed incorrect…
- CVE-2018-7711 — High (CVSS 8.1): HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the…
All CVEs affecting Simplesamlphp →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →