# CVE-2022-31158: Authentication Bypass by Capture-replay in packbackbooks/lti-1-3-php-library

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-07-15T17:15:12.000Z
- Modified: 2026-06-17T04:44:55.597Z
- Also known as: GHSA-5p73-qg2v-383h
- Weaknesses: CWE-294, CWE-327
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

LTI 1.3 Tool Library is a library used for building IMS-certified LTI 1.3 tool providers in PHP. Prior to version 5.0, the Nonce Claim Value was not being validated against the nonce value sent in the Authentication Request. Users should upgrade to version 5.0 to receive a patch. There are currently no known workarounds.

(As written by CVE List.)

## Affected

- packbackbooks lti-1-3-php-library: < 5.0
- packbackbooks/lti-1-3-php-library (Packagist): before 5.0
- packback lti_1.3_tool_library: before 5.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/packbackbooks/lti-1-3-php-library/security/advisories/GHSA-5p73-qg2v-383h> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31158> (advisory)
- <https://github.com/packbackbooks/lti-1-3-php-library> (package)
- <https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest> (web)

## Sources

- CVE List: [CVE-2022-31158](https://www.cve.org/CVERecord?id=CVE-2022-31158), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-5p73-qg2v-383h](https://github.com/advisories/GHSA-5p73-qg2v-383h), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31158](https://nvd.nist.gov/vuln/detail/CVE-2022-31158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31158 · Whole record: https://cve.day/CVE-2022-31158.json · Rebuilt by cve.day 2026-11-25T22:58:12.979Z
