CVE-2022-42097
PHP vulnerability analysis and mitigation

Overview

Backdrop CMS version 1.23.0 was discovered to contain a stored cross-site scripting (XSS) vulnerability via the comment functionality. The vulnerability was discovered on September 27, 2022, and was assigned CVE-2022-42097. The vulnerability affects the commenting system in Backdrop CMS version 1.23.0 (GitHub Release, GrimTheRipper).

Technical details

The vulnerability allows an attacker to execute stored XSS attacks through the comment functionality. The attack vector requires the attacker to post content in the comment section using the Raw HTML Editor. The XSS payload is executed immediately after saving the comment. The vulnerability specifically affects the comment reply functionality at the endpoint '/backdrop/comment/reply/id_reply' (GitHub CVE).

Impact

When successfully exploited, the vulnerability allows attackers to execute arbitrary JavaScript code in the context of other users' browsers who view the compromised comment. This could lead to session hijacking, defacement, or theft of sensitive browser data from users viewing the affected comments (GitHub CVE).

Exploitability

The vulnerability requires an authenticated user account with appropriate permissions to post comments. The attacker must have access to the Raw HTML Editor when posting comments. The exploit is triggered when users view the compromised comment containing the XSS payload (GitHub CVE).

Mitigation and workarounds

The vulnerability was reported to MITRE on September 27, 2022, and publicly disclosed on October 31, 2022. Users should upgrade to a patched version of Backdrop CMS if available, or disable Raw HTML input in comments if possible (GrimTheRipper).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026
CVE-2026-67434HIGH7.3
  • PHP logoPHP
  • squizlabs/php_codesniffer
NoYesAug 06, 2026
CVE-2026-71478MEDIUM6.1
  • PHP logoPHP
  • league/commonmark
NoYesAug 06, 2026
CVE-2026-71435MEDIUM6.1
  • PHP logoPHP
  • statamic/cms
NoYesAug 06, 2026
CVE-2026-71434MEDIUM5.3
  • PHP logoPHP
  • statamic/cms
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management