Perl 语言下,Web::Simple 0.037 之前的版本在生成 HTML::Tags 输出时,未对单引号进行转义。 HTML::Tags 和 XML::Tags 在转义普通字符串值时,仅将字符 、 、 和 替换为对应的实体。因此,若将某个值插值到单引号包裹的属性中(例如 ),攻击者可利用未转义的单引号提前结束该属性,并注入新的属性(如事件处理器)。双引号包裹的属性不受此问题影响。 若攻击者能够控制应用程序插值到单引号属性中的值,则可在生成的页面中注入恶意脚本。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 0 ~ 0.037 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC