Skip to content
Vulnerability Intelligence

CVE-2022-25481

MediumPublic exploit

Exposure of Resource to Wrong Sphere in ThinkPHP Framework

Published Mar 22, 2022 · Updated Aug 12, 2026 · Also known as GHSA-69wp-xwm7-69wm

Key Facts

Routine patching
  • CVE-2022-25481 is a medium-severity vulnerability (CVSS 4.0 v3.1) affecting Thinkphp, topthink/framework (composer).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 4.7% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.

CVSS v3.1

4.0

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

EPSS (30-day exploit likelihood)

4.7%

Higher than 91.7% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-25481 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
ThinkphpThinkphp5.0.24n/a
topthink/frameworkcomposerSee advisoryn/a

Timeline

  1. Publicly disclosed

    Mar 22, 2022

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-284 Improper Access Control
  • CWE-668 Exposure of Resource to Wrong Sphere

References

FAQ

Common Questions.

Is CVE-2022-25481 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo