CVE-2022-42097 Cross-site Scripting in Backdrop CMS
An attacker can inject malicious scripts into comments in Backdrop CMS, potentially executing code or hijacking user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-42097?
CVE-2022-42097 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Nov 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Backdrop CMS version 1.23.0 was discovered to contain a stored cross-site scripting (XSS) vulnerability via 'Comment.' .
Weakness: CWE-79
Which versions are affected by CVE-2022-42097?
2 open source packages ship an affected version, including backdrop/backdrop. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
backdrop/backdrop Packagist | All versions to 1.23.0 | None |
backdrop/backdrop Packagist | All versions to 1.23.0 | None |
Products include Backdropcms Backdrop.
How do I fix CVE-2022-42097?
No fix has been published for CVE-2022-42097 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-42097 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-42097 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2021-45268 Cross-site request forgery in n/a
- CVE-2024-41709 Backdrop CMS does not sufficiently sanitize field labels before they are displayed in certain places
- CVE-2019-14769 Cross-site scripting in n/a
- CVE-2019-11358 XSS in jQuery as used in Drupal, Backdrop CMS, and other products
- CVE-2022-24590 Cross-site scripting in n/a
Sources
Also known as GHSA-g9cp-9fw3-56cf.