VYPR
Medium severityNVD Advisory· Published Jun 3, 2026

CVE-2022-31114

CVE-2022-31114

Description

Cross-site scripting vulnerability in backpack/crud allows attackers to potentially gain admin access via phishing.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Cross-site scripting vulnerability in backpack/crud allows attackers to potentially gain admin access via phishing.

Vulnerability

Versions prior to 5.0.13, 4.1.69, and 4.0.63 of backpack/crud are affected by a cross-site scripting vulnerability. This issue exists in the default error views where exception messages might be output without proper escaping, making them susceptible to XSS attacks under specific circumstances [1].

Exploitation

An attacker could trick users or administrators into clicking a malicious link as part of a targeted phishing campaign. If the conditions are met, this could lead to the execution of arbitrary JavaScript in the context of the victim's browser [1].

Impact

Successful exploitation could lead to the disclosure of sensitive information or potentially grant the attacker administrative access to the application. Given that the vulnerability resides within an admin panel, even a moderate risk is taken seriously [1].

Mitigation

The vulnerability is patched in versions 5.0.13, 4.1.69, and 4.0.63. Users can update via composer update backpack/crud and then run php artisan backpack:fix. Alternatively, users can manually edit error views in resources/views/errors to output e($exception->getMessage()) instead of $exception->getMessage() [1].

AI Insight generated on Jun 3, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

0

No linked articles in our index yet.