-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct missing escaping of template variable #3785
Comments
This issue applies to OJS between 3.0.0 and 3.1.1-1 and the themes noted below, and can be corrected by applying this patch: https://github.com/pkp/ojs/commit/ba66a117835a8bbbed4fb12d3c35734e996a211f.diff For example, on most Linux systems this should work. Run it inside the OJS installation directory.
You should see the following output:
The issue is corrected in OJS 3.1.1-2 and newer. If you're using checkouts from git, all stable branches (e.g. If you are using the Bootstrap theme plugin, version 1.1.4 corrects a similar issue. Users of older versions than 1.1.4 should update. If you are using the Health Sciences theme plugin, version 1.0.1 corrects a similar issue. Users of 1.0.0 should update. |
The
$authors
variable intemplates/frontend/pages/search.tpl
is not escaped. This permits a reflected (non-persistent) XSS attack.Instructions to patch are here: #3785 (comment)
See also the notes there about affected theme plugins.
Affects OJS 3.0.0 to 3.1.1-1 (inclusive).
https://nvd.nist.gov/vuln/detail/CVE-2018-12229
Thanks to Metamorfosec for discovery & reporting.
The text was updated successfully, but these errors were encountered: