Skip to content

Commit

Permalink
SECURITY-1928 Fix stored xss (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Dec 18, 2020
1 parent 7f49057 commit 99814a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/release/ReleaseWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ public ReleaseBuildBadgeAction() {
}

public String getReleaseVersion() {
return releaseVersion;
return releaseVersion != null ? Util.xmlEscape(releaseVersion) : null;
}

public String getIconFileName() { return null; }
Expand Down

0 comments on commit 99814a0

Please sign in to comment.