BreachSpiderVerified, not vibes

CVE-2022-0473 in Otrs

Medium 4.8

OTRS administrators can configure dynamic field and inject malicious JavaScript code in the error message of the regular expression check. When used in the agent interface, malicious code might be exectued in the browser. This issue affects: OTRS AG OTRS 7.0.x version: 7.0.31 and prior versions.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.8
EPSS0.5%
EPSS percentile38th
FixSee advisory

Remotely exploitable over the network, low complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Otrs Otrs ≥ 7.0.0, < 7.0.32

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

OTRS administrators can configure dynamic field and inject malicious JavaScript code in the error message of the regular expression check. When used in the agent interface, malicious code might be exectued in the browser. This issue affects: OTRS AG OTRS 7.0.x version: 7.0.31 and prior versions.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-0473
BreachSpider IDBS-2022-GLOBAL-070788-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Published2022-02-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

Show all 6

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

OTRS administrators can inject malicious JavaScript code into error messages, potentially leading to code execution in the browser when used in the agent interface.

An attacker with administrative privileges in OTRS can configure dynamic fields and inject malicious JavaScript into the error messages of regular expression checks. This JavaScript can be executed in the browser of any user who views the affected error message in the agent interface.

Questions

What is CVE-2022-0473?

OTRS administrators can inject malicious JavaScript code into error messages, potentially leading to code execution in the browser when used in the agent interface.

What is the CVSS score for CVE-2022-0473?

CVE-2022-0473 has CVSS 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.5%.

Is CVE-2022-0473 actively exploited?

No confirmed active exploitation of CVE-2022-0473 as of 2026-09-25.

How do I remediate CVE-2022-0473?

Priority: MEDIUM. Advisory: https://otrs.com/release-notes/otrs-security-advisory-2022-01/ PSIRT: [email protected]

What systems are affected by CVE-2022-0473?

CVE-2022-0473 affects Otrs Otrs.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Otrs","product":"Otrs","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.