swagger-api / swagger-api/swagger-codegen

XML External Entity (XXE) Injection vulnerability in org.mozilla:rhino library

Open
#11,074 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

There is XML External Entity (XXE) Injection vulnerability introduced in org.mozilla:rhino library.

Swagger-codegen version

3.0.26, 2.4.20

Fix/enhancement

Upgrade org.mozilla:rhino to version 1.7.12 or higher.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the dependency declarations for org.mozilla:rhino in the swagger-codegen repository and inspect how version 3.0.26 and 2.4.20 resolve it. Update the dependency to version 1.7.12 or higher, then run the relevant dependency or build checks to confirm the vulnerable version is no longer used.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.