# CVE-2022-25481: Exposure of Resource to Wrong Sphere in ThinkPHP Framework

- Severity: Medium 4.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 4.75%, higher than 92% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-20T00:00:00.000Z
- Modified: 2026-06-17T04:33:36.830Z
- Also known as: GHSA-69wp-xwm7-69wm
- Weaknesses: CWE-284, CWE-668
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- thinkphp thinkphp: -; 5.0.24
- topthink/framework (Packagist): up to 5.0.24

## Every score

- CISA-ADP: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25481> (advisory)
- <https://github.com/top-think/framework> (package)

## Sources

- CVE List: [CVE-2022-25481](https://www.cve.org/CVERecord?id=CVE-2022-25481), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-69wp-xwm7-69wm](https://github.com/advisories/GHSA-69wp-xwm7-69wm), CC-BY-4.0, modified 2024-07-03
- NVD: [CVE-2022-25481](https://nvd.nist.gov/vuln/detail/CVE-2022-25481), Public domain, modified 2026-06-17

---

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