CVE-2022-4942

Source
https://cve.org/CVERecord?id=CVE-2022-4942
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4942.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-4942
Aliases
Published
2023-04-20T05:31:04Z
Modified
2026-10-21T02:49:18Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting
Details

A vulnerability was found in mportuga eslint-detailed-reporter up to 0.9.0 and classified as problematic. Affected by this issue is the function renderIssue in the library lib/template-generator.js. The manipulation of the argument message leads to cross site scripting. The attack may be launched remotely. The patch is identified as 505c190efd4905990db6207863bdcbd9b1d7e1bd. It is recommended to apply a patch to fix this issue. VDB-226310 is the identifier assigned to this vulnerability.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4942.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "0.1"
                        },
                        {
                            "last_affected":  "0.1"
                        },
                        {
                            "introduced":  "0.2"
                        },
                        {
                            "last_affected":  "0.2"
                        },
                        {
                            "introduced":  "0.3"
                        },
                        {
                            "last_affected":  "0.3"
                        },
                        {
                            "introduced":  "0.4"
                        },
                        {
                            "last_affected":  "0.4"
                        },
                        {
                            "introduced":  "0.5"
                        },
                        {
                            "last_affected":  "0.5"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandaloneSingleVersion"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mportuga/eslint-detailed-reporter

Affected ranges

Type
GIT
Repo
https://github.com/mportuga/eslint-detailed-reporter
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.6"
                },
                {
                    "last_affected":  "0.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.7"
                },
                {
                    "last_affected":  "0.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.8"
                },
                {
                    "last_affected":  "0.8"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.9"
                },
                {
                    "last_affected":  "0.9"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "505c190efd4905990db6207863bdcbd9b1d7e1bd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.6
0.7
0.8
0.9
v0.*
v0.6.0
v0.6.1
v0.6.10
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4942.json"