Sabberworm PHP CSS Parser before 8.3.1 calls eval on uncontrolled data, possibly leading to remote code execution if the function allSelectors() or getSelectorsBySpecificity() is called with input from an attacker.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://github.com/sabberworm/PHP-CSS-Parser/commit/2ebf59e8bfbf6cfc1653a5f0ed743b95062c62a4 | third party advisory patch |
https://github.com/sabberworm/PHP-CSS-Parser/releases/tag/8.3.1 | third party advisory release notes |
http://seclists.org/fulldisclosure/2020/Jun/7 | mailing list exploit third party advisory |
http://packetstormsecurity.com/files/157923/Sabberworm-PHP-CSS-Code-Injection.html | exploit vdb entry third party advisory |