GHSA-wmq2-jc9m-xp4m

Suggest an improvement
Source
https://github.com/advisories/GHSA-wmq2-jc9m-xp4m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wmq2-jc9m-xp4m/GHSA-wmq2-jc9m-xp4m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wmq2-jc9m-xp4m
Aliases
Published
2022-05-02T06:21:36Z
Modified
2023-11-08T03:56:55.599271Z
Summary
Cross-site Scripting in in JRuby
Details

The regular expression engine in JRuby before 1.4.1, when $KCODE is set to 'u', does not properly handle characters immediately after a UTF-8 character, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted string.

Database specific
{
    "nvd_published_at": "2012-11-23T19:55:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-01T22:47:20Z"
}
References

Affected packages

Maven / org.jruby:jruby-core

Package

Name
org.jruby:jruby-core
View open source insights on deps.dev
Purl
pkg:maven/org.jruby/jruby-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.1