MEDIUM6.1
GHSA-vhqr-3gr2-7px9
Subrion CMS Cross-site Scripting
Quick fix
GHSA-vhqr-3gr2-7px9 — intelliants/subrion: upgrade to the fixed version with the command below.
composer require intelliants/subrion:^4.2.2Details
`uploads/.htaccess` in Subrion CMS 4.2.1 allows XSS because it does not block .html file uploads (but does block, for example, .htm file uploads).
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/intelliants/subrion
Introduced in:
0Fixed in: 4.2.2Fix
composer require intelliants/subrion:^4.2.2References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14840[ADVISORY]
- https://github.com/intelliants/subrion/issues/773[WEB]
- https://github.com/intelliants/subrion/commit/b12e287d3814c0f2d0b1892f95fc0190972d2ba5[WEB]
- https://github.com/intelliants/subrion/commit/cb10ac2294cb2c3a6d2159f9a2bb8c58a2a10a47[WEB]
- https://www.exploit-db.com/exploits/45150[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/intelliants/subrion"]}'