# CVE-2022-41928: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml

Source: https://junglewise.ai/threats/cve-2022-41928-improper-neutralization-of-directives-in-dynamically-evaluated  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-21  
License: CC BY 4.0 with a link back

CVE-2022-41928 · Severity: low · CVSS 3.1 · Published 2022-11-21

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in AttachmentSelector.xml

Technologies: [org.xwiki.platform:xwiki-platform-attachment-ui (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-attachment-ui). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-41928 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41928 being exploited in the wild.

**How severe is CVE-2022-41928?** Low severity, with a CVSS score of 3.1, published 21 November 2022.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-attachment-ui (Maven) ECOSYSTEM:introduced=5.0-milestone-1,fixed=13.10.7.

**Is there a fix for CVE-2022-41928?** Yes. org.xwiki.platform:xwiki-platform-attachment-ui (Maven): upgrade to 13.10.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-41928?** Check whether you run org.xwiki.platform:xwiki-platform-attachment-ui (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-attachment-ui (Maven): upgrade to 13.10.7 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-attachment-ui to 13.10.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-attachment-ui (Maven) ECOSYSTEM:introduced=5.0-milestone-1,fixed=13.10.7

## Identifiers

- CVE-2022-41928
- GHSA-9hqh-fmhg-vq2j

## Related threats

- [org.xwiki.platform:xwiki-platform-attachment-ui vulnerable to Code Injection](https://junglewise.ai/threats/cve-2023-29519-org-xwiki-platform-xwiki-platform-attachment-ui-vulnerable-to)
- [XWiki Platform vulnerable to privilege escalation from view right on XWiki.AttachmentSelector](https://junglewise.ai/threats/cve-2023-29516-xwiki-platform-vulnerable-to-privilege-escalation-from-view-right)
- [XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form](https://junglewise.ai/threats/cve-2022-36097-xwiki-platform-attachment-ui-vulnerable-to-cross-site-scripting)
